English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The HTML <figcaption> element is a description of the associated image/Title, used to describe other data within its parent <figure> element. This means that the <figcaption> is the first or last in the <figure> block. At the same time, the HTML Figcaption element is optional; if this element is not present, the image of the parent node will simply be without explanation/Title.
Use the <figure> element to mark an image in a document. The <figure> element has a title:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Basic Tutorial Website(w3(codebox.com)</title> </head> <body> <figure> <img src="views.png" alt="views" width="304"height="228"> <figcaption>famous for its scenic beauty.</figcaption>/figcaption> </figure> </body> </html>Test to see ‹/›
IEFirefoxOperaChromeSafari
IE 9Firefox, Opera, Chrome and Safari support the <figcaption> tag.
Note:IE 8 or earlier versions of IE browsers do not support the <figcaption> tag.
The <figcaption> tag is for <figure> element defines the title.
The <figcaption> element should be placed at the first or last child position of the <figure> element.
<figcaption> tag is a part of HTML5 new tags.
Support for <figcaption> tag Global attributes of HTML.
Support for <figcaption> tag HTML event attributes.