Home » HTML » Html miscellaneous » Question
  1. Which element is used to draw graphics and animations?
    1. <picture>
    2. <noscript>
    3. >script<
    4. >canvas<
    5. None of these
Correct Option: D

<canvas> element is used with either canvas scripting APII or WebGL API to draw graphics and animations. Basically it includes all the global attributes like height, moz-opaque, width. It is not supported in Opera browser. <script> is used for embeding javascript code in document. An element <picture> contains <source> element and <image>. <noscript> defines section of HTML.



Your comments will be displayed only after manual approval.