Html miscellaneous


  1. Which of the following defines graphic drawing using JavaScript?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    One or more class names are specified by the global <class> attribute. The canvas tag is only a container for graphics, you must use a script to actually draw the graphics. <graphics> and <draw> are imaginary part.


  1. Which of the following elements in HTML5 defines video or movie content?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The media to which linked document is optimized is given by <media> tag. Before HTML5, videos could only be played with a plug-in (like flash). The HTML5 video element specifies a standard way to embed a video in a web page. As like <video> elements, <audio> element contains additional files or streams like music, recording, etc.



  1. Which of the following defines some content aside from the content it is placed in (like a sidebar)?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Content related to surroundings is given by <aside> tag. The aside content should be related to the surrounding content. An introductory content is represented by <header> element. The <nav> element contains list of navigation links.


  1. Which of the following defines a visible heading for a details element?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The main content of document is in <main>. <mark> is used to highlight the text to indicate it’s uniqueness. The summary tag defines a visible heading for the details element. The heading can be clicked to view/hide the details.



  1. Which of the following defines additional details that the user can view or hide?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The additional details the user wants to know as per the demand is fulfilled by <details> tag. The details tag can be used to create an interactive widget that the user can open and close. Any sort of content can be put inside the details tag. <article> is self defined independent content which contains data which can be anything including photos, videos, and other contents. It provides a section. The <figure> tag provides section for illustration, diagrams, photos etc. Content related to surroundings is given by <aside> tag.