You are here : htmlHTML 5figure

<figure> - HTML 5

The <figure> tag specifies self-contained content, like illustrations, diagrams, photos, code listings, etc.

While the content of the <figure> element is related to the main flow, its position is independent of the main flow, and if removed it should not affect the flow of the document.


Syntax

    <figure>  <img src="img_pulpit.jpg" alt="The Pulpit Rock" width="304" height="228">	</figure>


Example

    <figure>  <img src="img_pulpit.jpg" alt="The Pulpit Rock" width="304" height="228">	</figure>


Output / Return Value


Limitations


Alternatives / See Also


Reference