Which element provides a caption for content inside a <figure>?
-
A
<legend>
-
B
<caption>
-
C
<figcaption>
Correct answer
-
D
<summary>
Correct answer
C. <figcaption>
16 views
Explanation
labels images, charts or code samples within . is for tables, and is for fieldsets.
Reference
Asked in: NTS, Web Developer Interviews
Doubts & discussion
Not sure why the answer is C? Ask here and get an explanation.
Ask a doubt about this MCQ