HTML - Tags - <figcaption>

#47 of 147
figcaption

 <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 figcaption element adds a caption to a figure element.

A live example:


Figure 1
Figure 1
Figure 1. Henry VIII

For additional examples of figcaption:
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