html figcaption标签用于定义 figure 元素的标题(caption)。"figcaption" 元素应该被置于 "figure" 元素的第一个或最后一个子元素的位置。

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>以上就是html figcaption标签怎么用的详细内容,更多请关注php中文网其它相关文章!
HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号