Figcaption radovolsky
-
Upload
lradovolsky -
Category
Design
-
view
302 -
download
0
Transcript of Figcaption radovolsky
LAURA RADOVOLSKY
<figcaption><figure>
The <figcaption> element
The <figcaption> element represents a caption or legend for a figure.
The <figcaption> element
The <figcaption> element is optional and can appear before or after the content within the <figure>.
Using <figure> and <figcaption>
The code that was used:
<figure><img src="/macaque.jpg" alt="Macaque in the trees"><figcaption>A cheeky macaque, Lower Kintaganban River, Borneo. Original by <a href="http://www.flickr.com/photos/rclark/">Richard Clark</a></figcaption></figure>
Figure with multiple images:
The code:
<figure><img src="/kookaburra.jpg" alt="Kooaburra"><img src="/pelican.jpg" alt="Pelican stood on the beach"><img src="/lorikeet.jpg" alt="Cheeky looking Rainbow Lorikeet"><figcaption>Australian Birds. From left to right, Kookburra, Pelican and Rainbow Lorikeet. Originals by <a href="http://www.flickr.com/photos/rclark/">Richard Clark</a></figcaption></figure>
There are a lot of possibilities for the <figure> element. Just remember to make sure it’s the most appropriate element for the job.
If there is no <figcaption> element within a figure element then there is no caption for the rest of its content.
When using this tag, or any tag, do not forget to close the tag!