Home » HTML » Html miscellaneous » Question
  1. Which of the following defines a caption for a figure element?
    1. <figure>
    2. <caption>
    3. <dialog>
    4. <figcaption>
    5. None of these
Correct Option: D

The figcaption element can be placed as the first or last child of the figure element. It defines a caption for a figure element. Caption in a table immediately after <table> tag can be given by <caption> tag. The <figure> tag provides section for illustration, diagrams, photos etc. A box else window is defined by <dialog> tag in HTML.



Your comments will be displayed only after manual approval.