html figcaption标签怎么用

互联网 19-5-28
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标签怎么用的详细内容,更多内容请关注技术你好其它相关文章!

来源链接:
免责声明:
1.资讯内容不构成投资建议,投资者应独立决策并自行承担风险
2.本文版权归属原作所有,仅代表作者本人观点,不代表本站的观点或立场
标签: html figcaption
上一篇:php获取远程图片并下载保存到本地的方法分析 下一篇:html em标签怎么用

相关资讯