<figcaption>
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
El elemento HTML <figcaption>
representa un subtítulo o leyenda asociado al contenido del elemento padre <figure>
, pudiendo ser colocado como primer o último hijo. Es importante destacar que el elemento <figcaption>
es opcional.
Pruébalo
Content categories | Ninguna |
---|---|
Contenido Permitido | Flow content. |
Omisión de etiqueta | Ninguna, tanto la etiqueta inicial como la final son obligatorias. |
Elementos padre permitidos |
En un elemento <figure> el elemento
<figcaption> debe ser el primero o el último hijo.
|
Interfaz DOM | HTMLElement |
Contento en el que puede ser usado | Como the first o last child de un <figure> element |
Atributos
Este elemento sólo incluye los global attributes.
Ejemplos
Para ejemplos con <figcaption>
, por favor ver la página <figure>
.
Especificaciones
Specification |
---|
HTML # the-figcaption-element |
Compatibilidad con navegadores
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
figcaption |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Ver además
- El elemento
<figure>
.