Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original
HTML tag
HTML
tag
Example
Use
The element marks an image in a document:
<
figure
<
img
src
=
"
img_pulpit.jpg
"
alt
=
"
The Pulpit Rock
"
width
=
"
304
"
height
=
"
228
"
figure
Try it »
Browser support
IE 9, Firefox, Opera, Chrome, and Safari support
tag.
**Note:** IE 8 and earlier versions of IE browsers do not support
tag.
Tag Definition and Usage Notes
The tag specifies self-contained flow content (images, charts, photos, code, and so on).
The content of the element should be related to the main content, while the element's position is independent of the main content. If removed, it should not affect the document flow.
Differences between HTML 4.01 and HTML5
The tag is new in HTML 5.
Tips and Notes
Tip:
The element is used to provide a caption for
the element.
Global Attributes
The tag supports [HTML Global Attributes](/tags/ref-standardattributes.html).
Event attribute
The tag supports [HTML Event Attributes](/tags/ref-eventattributes.html).