Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What is the purpose of the canvas element?

  2. A.

     Creates drawing surface

    B.

     Exposes powerful drawing API to client-side JavaScript

    C.

     Creates drawing surface & Exposes powerful drawing API to client-side JavaScript

    D.

     None of the mentioned

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    The canvas element has no appearance of its own but creates a drawing surface within the document and exposes a powerful drawing API to client-side JavaScript.


Be The First To Comment