Two new elements are the HTML5 tags FIGURE and FIGCAPTION. The first one, FIGURE, is good for things like images and other graphics, while FIGCAPTION is used to tell people what they are looking at. As an example, take a look at the following code:
<FIGURE>
<IMG SRC=”york_images/york_minster.jpg”>
<FIGCAPTION>A view of York Minster from a side street.</FIGCAPTION>
<FIGCAPTION>A view of York Minster from a side street.</FIGCAPTION>
</FIGURE>
No comments:
Post a Comment