Home » HTML » Html miscellaneous » Question
  1. Which of the following defines a visible heading for <details> element?
    1. <main>
    2. <mark>
    3. <section>
    4. <summary>
    5. None of these
Correct Option: D

The <summary> tag is new in HTML5. <summary> element defines a visible heading for <details> element. This heading can be clicked to hide/view the details. This element is not supported by Internet Explorer. Sections in document is defined by <section> element. <mark> element is used to highlight the context/paragraph/text. Main content of document is specified by <menu> element.



Your comments will be displayed only after manual approval.