--- title:
slug: Web/HTML/Element/figcaption tags: - Elemento - Elementos de agrupación de contenido en HTML - HTML - Referencia translation_of: Web/HTML/Element/figcaption original_slug: Web/HTML/Elemento/figcaption ---

{{HTMLRef}}

El elemento HTML <figcaption>  representa un subtítulo o leyenda asociado al contenido del elemento padre {{HTMLElement("figure")}}, pudiendo ser colocado como primer o último hijo. Es importante destacar que el elemento <figcaption> es opcional.

{{EmbedInteractiveExample("pages/tabbed/figcaption.html","tabbed-shorter")}}

Content categories Ninguna
Contenido Permitido Flow content.
Omisión de etiqueta {{no_tag_omission}}
Elementos padre permitidos En un  elemento {{HTMLElement("figure")}} el elemento <figcaption> debe ser el primero o el último hijo.
Interfaz DOM {{domxref("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 {{HTMLElement("figure")}}.

Especificaciones

Especificación Estado Comentario
{{SpecName('HTML WHATWG', 'grouping-content.html#the-figcaption-element', '<figcaption>')}} {{Spec2('HTML WHATWG')}}  
{{SpecName('HTML5 W3C', 'grouping-content.html#the-figcaption-element', '<figcaption>')}} {{Spec2('HTML5 W3C')}}  

Compatibilidad con los distintos navegadores

{{Compat("html.elements.figcaption")}}

Ver además