Vidyalelo
HTML · Q44

HTML5

Programming · HTML · question 44

Q44

When the _____________ method is passed an animated image as its image argument, the user agent must use the poster frame of the animation, or, if there is no poster frame, the first frame of the animation.

A.
measureText()
B.
imageData()
C.
drawImage()
Answer
D.
none of the mentioned

Answer: Option C

Solution

Answer: Option C
Solution:
The drawImage() method draws an image, canvas, or video onto the canvas.