<figcaption>
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 | None, both the starting and ending tag are mandatory. |
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
Especificación | Estado | Comentario |
---|---|---|
HTML Living Standard La definición de '<figcaption>' en esta especificación. |
Living Standard | |
HTML5 La definición de '<figcaption>' en esta especificación. |
Recommendation |
Compatibilidad con los distintos navegadores
BCD tables only load in the browser
Ver además
- El elemento
<figure>
.