HTML5 <figcaption> Tag

Example

A section in a document, showing what is QcTutorials:

<figure>
  <figcaption>QcTutorials</figcaption>
  <p>Learn Programming through quizzes and references</p>
</figure>
Code it Online »

Definition and Usage

The <figcaption> tag contains a caption for the "figure" element.

The "figcaption" element should be placed as the first or the last child of the "figure" element.

Differences Between HTML 4.01 and HTML5

The <figcaption> tag is new in HTML5

Tips and Notes

Note: The "figcaption" element should be placed as the first or the last child of the "figure" element.

Standard Attributes

The <figcaption> tag also supports the Standard Attributes in HTML5.

Event Attributes

The <figcaption> tag also supports the Event Attributes in HTML5.


Have Any Suggestion? We Are Waiting To Hear from YOU!

Your Query was successfully sent!