fig

英[f?g]? ?美[f?ɡ]??

n.無花果;無花果樹

##caption##n.無花果;無花果樹

##caption

英[?k?p?n]? ?美[?k?p??n]??

n.字幕;標(biāo)題,說明文字,字幕;第三檔

###vt.給(圖片、照片等)加說明文字;在(文件等)上加標(biāo)題;在…上加字幕###

html5<figcaption>標(biāo)籤 語法

作用:<figcaption> 標(biāo)籤定義?figure?元素的標(biāo)題(caption)。

"figcaption" 元素應(yīng)該被置於 "figure" 元素的第一個或最後一個子元素的位置。


html5<figcaption>標(biāo)籤 範(fàn)例

<!DOCTYPE html>
<html>
<body>

<p>The Pulpit Rock is a massive cliff 604 metres (1982 feet) above Lysefjorden, opposite the Kjerag plateau, in Forsand, Ryfylke, Norway. The top of the cliff is approximately 25 by 25 metres (82 by 82 feet) square and almost flat, and is a famous tourist attraction in Norway.</p>

<figure>
  <img src="http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg" alt="The Pulpit Rock" width="304" height="228">
  <figcaption>Fig.1 - The Pulpit Rock, Norway.</figcaption>
</figure>

</body>
</html>
執(zhí)行實例 ?

#點擊 "執(zhí)行實例" 按鈕查看線上實例

#