View Figcaption Tag Example Pictures. The <figcaption> tag also supports the global attributes in html. This tag supports all the global attributes described in html attribute reference. If the <figcaption> is the first embedded element, then the content will be displayed at the top of the image.
The html figcaption element represents a caption or legend for the rest of the contents its parent figure element, if any.
The following example shows the <figcaption> element in action. The <figcaption> tag is optional, and can be either the first or last element in the <figure> block. You can modify the code (on the left) and click refresh to see. The <figcaption> tag is one of the html5 elements. The <figurecaption> tag in html is used to set a caption to the figure element in a document. As you can see i have used figure tag which has an optional figcaption tag of html5 in my code which is very helpful for sematics. For example, a graphic banner should not be marked up with <figure>. Parallax image gallery using figure & figcaption tags.

