<figcaption> tag in HTML 5
In this articles i am going to explain about figcaption tag in HTML 5.
Definition
<Figcaption> element to mark up diagrams, illustrations, photos, and code examples (among other things). The spec says this about <figure>.
Support browser in <Figcaption> tag.
Chrome, Firefox, Opera, Internet Explorer 9 and Safari.
Lets take an example of <Figcaptiom> tag
<html>
<body>
<p>
This image is a sun set.</p>
<figure>
<img src="/d:\jitendra\figure\Sunset.jpg" alt="Gupta" width="304" height="228" />
<figcaption>fig:sunset</figcaption>
</figure>
</body>
</html>
|
Output
Further Readings
You may also read more about HTML5 here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here