A RetroSearch Logo

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

Search Query:

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

<figcaption>: 図ã‚ãƒ£ãƒ—ã‚·ãƒ§ãƒ³è¦ç´ - HTML | MDN

<figcaption>: 図キャプション要素

Baseline Widely available

<figcaption> は HTML の要素で、親の <figure> 要素内にあるその他のコンテンツを説明するキャプションや凡例を表します。

試してみましょう
<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;
}
属性

この要素にはグローバル属性のみがあります。

例

<figcaption> の例については、 <figure> のページを参照して下さい。

技術的概要 仕様書 ブラウザーの互換性 関連情報

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