A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/html/elements/figcaption below:

figcaption · WebPlatform Docs

figcaption Summary

The figcaption (<figcaption>) defines a caption or legend for a figure element. This element is new in HTML5.

Overview Table
DOM Interface
HTMLElement
Examples

As the first child of a figure element


<figure>
  <figcaption>The Stata Center</figcaption>
  <img src="stata.jpg" alt="The Stata Center Building"/>
</figure>


<figure>
  <img src="stata.jpg" alt="The Stata Center Building">
  <figcaption>The Stata Center</figcaption>
</figure>

Notes Remarks

The first figcaption element child of the figure element represents the caption of the figure element’s contents. The figcaption element is rendered in place; to move the caption, place it as the first or the last child of the figure element. Note If the figcaption content provides an adequate text alternative for the visual content in the image, the caption can be used as a text alternative for images in lieu of the alt attribute. Windows Internet Explorer 9. The figcaption element is only supported for webpages displayed in IE9 Standards mode. For more information, see Defining Document Compatibility.

Related specifications
HTML 5.1
W3C Working Draft
HTML 5
W3C Recommendation
Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4