You are here : htmlHTML 5figcaption

<figcaption> - HTML 5

The <figcaption> tag defines a caption for a <figure> element.

The <figcaption> element can be placed as the first or last child of the <figure> element.


Syntax

    <figure>  <img src="img_pulpit.jpg" alt="The Pulpit Rock" width="304" height="228">  <figcaption>Fig1. - A view of the pulpit rock in Norway.</figcaption>	</figure>


Example

    <figure>  <img src="img_pulpit.jpg" alt="The Pulpit Rock" width="304" height="228">  <figcaption>Fig1. - A view of the pulpit rock in Norway.</figcaption>	</figure>


Output / Return Value


Limitations


Alternatives / See Also


Reference