1. Computing

Discuss in my forum

<figcaption></figcaption>

By , About.com Guide

FIGCAPTION Description:

The FIGCAPTION element represents the caption or legend of a figure.

The FIGCAPTION element is new in HTML5.

DTD: HTML5: <!doctype html>

FIGCAPTION Web Browser Support:

HTML Versions

FIGCAPTION Attributes:

FIGCAPTION End Tag:

The FIGCAPTION end tag </figcaption> is required.

FIGCAPTION Contents:

The FIGCAPTION can contain flow content, which is flow elements and character data.

FIGCAPTION Usage:

Tags valid as container: FIGCAPTION is only valid within the FIGURE element.

FIGCAPTION Examples:

Figure with image and caption

<figure>
  <img src="/library/graphics/html.gif" width=50 height=50 alt="Your HTML Guide" border="0">
  <figcaption>Your HTML Guide for About.com</figcaption>
</figure>

FIGCAPTION Special Notes:

There was some debate over whether to add the FIGCAPTION element to the HTML5 specification. Some arguments were made for using the LEGEND or CAPTION elements instead. As of May 25, 2011 (last call), it is part of the HTML5 specification.

More figcaption Information:

©2013 About.com. All rights reserved.