Which element is used to draw graphics and animations?

Đinh Yến

New member
Which element is used to draw graphics and animations?
A. <canvas>
B. <script>
C. <noscript>
D. <picture>
 
Answer: a
Explanation: <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.
 

Tìm kiếm

Back
Top