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

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

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

第三人稱單數(shù): captions 複數(shù): captions 現(xiàn)在分詞: captioning 過(guò)去式: captioned 過(guò)去分詞: captioned

html figcaption標(biāo)籤 語(yǔ)法

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

說(shuō)明:"figcaption" 元素應(yīng)該被置於 "figure" 元素的第一個(gè)或最後一個(gè)子元素的位置。

註解:所有主流瀏覽器都支援 <figcaption> 標(biāo)籤。 Internet Explorer 8 以及更早的版本不支援 <figcaption> 標(biāo)籤。

html figcaption標(biāo)籤 範(fàn)例

<!DOCTYPE html>
<html>
<body>

<p>ThinkPHP5快速開(kāi)發(fā)企業(yè)站點(diǎn)</p>

<figure>
    <img src="http://miracleart.cn/tpl/Index/Static/img/banner3.jpg" alt="php.cn" width="304" height="228">
    <figcaption>Fig.1 - ThinkPHP5快速開(kāi)發(fā)企業(yè)站點(diǎn)</figcaption>
</figure>

</body>
</html>

執(zhí)行實(shí)例 ?

點(diǎn)擊 "執(zhí)行實(shí)例" 按鈕查看線上實(shí)例