Html miscellaneous


  1. The _________ event is fired on the element where the drop occurred at the end of the drag operation.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    The drop event is fired on the element where the drop occurred at the end of the drag operation. A listener would be responsible for retrieving the data being dragged and inserting it at the drop location. Whenever user starts to drag an element, dragstart is fired. When draggable element enters a drop target then dragenter event is occurred. When element is being dragged, drag event is happened.


  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.