Which HTML5 element is used for drawing graphics on the fly ?

2026

Which HTML5 element is used for drawing graphics on the fly ?

Answer: B. <canvas>The correct HTML5 element for drawing graphics on the fly is <canvas>. It provides a resolution-dependent bitmap canvas which can be used for rendering…

  1. A.

    <svg>

  2. B.

    <canvas>

  3. C.

    <graphic>

  4. D.

    <draw>

Attempted by 304 students.

Show answer & explanation

Correct answer: B

The correct HTML5 element for drawing graphics on the fly is <canvas>. It provides a resolution-dependent bitmap canvas which can be used for rendering graphs, game graphics, or other visual images on the fly.

Explore the full course: Tpsc Assistant Technical Officer

Loading lesson…