A RetroSearch Logo

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

Search Query:

Showing content from https://developer.mozilla.org/fr/docs/Web/HTML/Reference/Elements/figcaption below:

<figcaption> : l'élément de légende d'une figure - HTML (HyperText Markup Language)

<figcaption> : l'élément de légende d'une figure

Baseline Widely available

L'élément HTML <figcaption> représente une légende décrivant le reste du contenu de son élément parent <figure>.

Exemple interactif
<figure>
  <img
    src="/shared-assets/images/examples/elephant.jpg"
    alt="Elephant at sunset" />
  <figcaption>An elephant at sunset</figcaption>
</figure>
figure {
  border: thin #c0c0c0 solid;
  display: flex;
  flex-flow: column;
  padding: 5px;
  max-width: 220px;
  margin: auto;
}

img {
  max-width: 220px;
  max-height: 150px;
}

figcaption {
  background-color: #222;
  color: #fff;
  font: italic smaller sans-serif;
  padding: 3px;
  text-align: center;
}
Attributs

Cet élément prend uniquement en charge les attributs universels.

Exemple

Veuillez consulter la page <figure> pour des exemples sur <figcaption>.

Spécifications Compatibilité des navigateurs Voir aussi

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