11.
Which parameter of the drawImage method specifies the width of the image to be drawn on the canvas?
12.
What does the src attribute of an image element specify in HTML?
13.
How do you draw an image at coordinates (100, 100) on the canvas using drawImage?
14.
What does the onload event handler ensure in HTML5 canvas?
15.
How do you display an image with dimensions 200x150 pixels on the canvas using drawImage?
16.
Which parameter of the drawImage method specifies the height of the image to be drawn on the canvas?
17.
What is the purpose of the src attribute in an image element in HTML?
18.
How do you draw an image at coordinates (50, 50) with dimensions 150x100 pixels on the canvas?
19.
What does the height attribute of an image element specify in HTML?
20.
How do you draw an image at coordinates (200, 200) on the canvas with dimensions 300x200 pixels using drawImage?