Html miscellaneous


  1. Which event is fired as the mouse is moving over an element when a drag is occurring?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The dragover event is fired as the mouse is moving over an element when a drag is occurring. Much of the time, the operation that occurs during a listener will be the same as the dragenter event. When draggable element enters a drop target then dragenter event has occurred. A dragleave event occurs when it leaves the valid drop target. Whenever a user starts to drag an element, dragstart is fired.


  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.



  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 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 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.