html figcaption标签


  翻译结果:

英 [ˈkæpʃn]   美 [ˈkæpʃən]  

n.字幕;标题,说明文字,字幕;第三档

vt.给(图片、照片等)加说明文字;在(文件等)上加标题;在…上加字幕

第三人称单数: captions 复数: captions 现在分词: captioning 过去式: captioned 过去分词: captioned

html figcaption标签 语法

作用:定义 figure 元素的标题(caption)。

说明:"figcaption" 元素应该被置于 "figure" 元素的第一个或最后一个子元素的位置。

注释:所有主流浏览器都支持 <figcaption> 标签。Internet Explorer 8 以及更早的版本不支持 <figcaption> 标签。

html figcaption标签 示例

<!DOCTYPE html>
<html>
<body>

<p>ThinkPHP5快速开发企业站点</p>

<figure>
    <img src="http://www.php.cn/tpl/Index/Static/img/banner3.jpg" alt="php.cn" width="304" height="228">
    <figcaption>Fig.1 - ThinkPHP5快速开发企业站点</figcaption>
</figure>

</body>
</html>

运行实例 »

点击 "运行实例" 按钮查看在线实例

热门推荐

目录

首页

视频

问答