• Skip to primary navigation
  • Skip to main content

Tech Honey

The #1 Website for Oracle PL/SQL, OA Framework and HTML

  • Home
  • HTML
    • Tags in HTML
    • HTML Attributes
  • OA Framework
    • Item in OAF
    • Regions in OAF
    • General OAF Topics
  • Oracle
    • statement
    • function
    • clause
    • plsql
    • sql
You are here: Home / HTML / Tags / HTML FigCaption Tag

HTML FigCaption Tag

August 10, 2013 by techhoneyadmin

HTML FigCaption TagHTML figcaption tag <figcaption> is used to classify a caption for an element of HTML figure type.

In other words we can say that, whenever we want to provide caption to HTML Figure type we use the HTML figcaption tag.

HTML figcaption tag should be either first or last child of the HTML Figure tag.

HTML 5 figcaption tag is a closed tag and needs closing figcaption HTML 5 tag </figcaption>.

Note: Figcaption tag is new in HTML 5.


HTML Figcaption Tag Syntax

<figcaption>
Some caption for figure here..
</figcaption>

HTML Figcaption Tag Example

HTML Figcaption Tag Code Output
Earth is the third planet from the Sun,
and fifth-largest of the eight planets
in the Solar System.
It is sometimes referred to
as the world or the Blue Planet.
<figure>
<img alt="The Earth" src="Earth.jpg"
width="304" height="228" />
<figcaption> Blue Planet: The Earth
</figcaption>
</figure>
Earth is the third planet from the Sun, and fifth-largest of the eight planets in the Solar System. It is sometimes referred to as the world or the Blue Planet.

The Earth
Blue Planet: The Earth

Here in the above figcaption HTML example we can see that the text “Blue Planet: The Earth” becomes the caption for the image of the earth.

Also note that we have used the figcaption tag within the HTML figure tag.

HTML 5 Figcaption tag supports all HTML Global Attributes and HTML Event Attributes.


HTML Figcaption Tag Supporting Browsers

S. No. Browser Supported(Yes/No)
1 Internet Explorer Yes (From IE 9 Onwards)
2 Firefox Yes
3 Google Chrome Yes
4 Opera Yes
5 Safari Yes

Filed Under: Tags Tagged With: Figcaption html 5 tag example, Figcaption HTML Tag, Figcaption tag HTML, How to use Figcaption tag in html, HTML 5 Figcaption tag, HTML 5 tag Figcaption, HTML Figcaption, HTML Figcaption Tag, HTML Tag Figcaption, HTMLFigcaptionTag, Syntax of Figcaption html5 tag, Tag Figcaption HTML, Tag HTML Figcaption, Using Figcaption tag in HTML, What is the use of Figcaption html tag

Copyright © 2023 · Parallax Pro on Genesis Framework · WordPress · Log in