Question

    What does the ‘’ element in HTML5 allow you to do?

    A Embed audio and video content Correct Answer Incorrect Answer
    B Create vector graphics Correct Answer Incorrect Answer
    C Style text with fonts Correct Answer Incorrect Answer
    D Draw graphics and animations using JavaScript Correct Answer Incorrect Answer
    E All of these Correct Answer Incorrect Answer

    Solution

    The ‘’ element provides a way to draw graphics, animations, and other visual content using JavaScript. It allows you to create interactive visual elements directly within the web page.

    Practice Next

    Relevant for Exams: