HTML <figcaption> 標籤
實例
使用 <figure> 元素標記文檔中的一個圖像。<figure> 元素帶有一個標題:
<figure>
<img src="img_pulpit.jpg" alt="The Pulpit Rock" width="304" height="228">
<figcaption>Fig1. - A view of the pulpit rock in Norway.</figcaption>
</figure>
流覽器支持
IE 9、Firefox、Opera、Chrome 和 Safari 支持 <figcaption> 標籤。
注釋:IE 8 或更早版本的 IE 流覽器不支持 <figcaption> 標籤。
標籤定義及使用說明
<figcaption> 標籤為 <figure> 元素定義標題。
<figcaption> 元素應該被置於 <figure> 元素的第一個或最後一個子元素的位置。
HTML 4.01 與 HTML5之間的差異
<figcaption> 標籤是 HTML5 中的新標籤。
全局屬性
<figcaption> 標籤支持 HTML 的全局屬性。
事件屬性
<figcaption> 標籤支持 HTML 的事件屬性。