HTML - tags - <figure>

#48 of 147
figure

 <html>
 <body>
     <figure>
         <img src="images/henryviii.jpg">
     </figure>
     <figure>
         <img src="images/henryviii.jpg">
         <figcaption>Figure 1. Henry VIII</figcaption>
     </figure>
 </body>
 </html>
 

The figure element is a container for an image and a caption.

A live example:


Figure 1
Figure 1
Figure 1. Henry VIII

The figure can be a diagram, an illustration, or a photograph.

For additional examples of figure:
See: image img audio

N of

Ads by Google

Ask a question, send a comment, or report a problem - click here to contact me.

© Richard McGrath