To draw on the canvas, authors must first obtain a reference to a context using the ______________ method of the canvas interface element.
A. getData
B. toDataURL
C. getContext
D. none of the mentioned
Answer: Option C
Solution (By Examveda Team)
contextType is a DOMString containing the context identifier defining the drawing context associated to the canvas.Related Questions on HTML5
Which of the following HTML 4 attributes is removed in HTML5?
A. text
B. rules
C. link
D. all of the mentioned
__________ defines the accelerator key to be used for keyboard access to an element.
A. data-X
B. accesskey
C. rp
D. command

Join The Discussion