Home » HTML » Html miscellaneous » Question
  1. Which of the following defines graphic drawing using JavaScript?
    1. <canvas>
    2. <class>
    3. <draw>
    4. <graphics>
    5. None of these
Correct Option: A

One or more class names are specified by the global <class> attribute. The canvas tag is only a container for graphics, you must use a script to actually draw the graphics. <graphics> and <draw> are imaginary part.



Your comments will be displayed only after manual approval.