-
Which of the following defines a caption for a figure element?
-
- <figure>
- <caption>
- <dialog>
- <figcaption>
- 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.