How to use html figcaption tag

藏色散人
Release: 2019-05-28 11:19:20
Original
4618 people have browsed it

html The figcaption tag is used to define the title (caption) of the figure element. The "figcaption" element should be placed as the first or last child element of the "figure" element.

How to use html figcaption tag

html How to use the figcaption tag?

Function: Define the title (caption) of the figure element.

Note: The "figcaption" element should be placed as the first or last child element of the "figure" element.

Note: All major browsers support the

tag. Internet Explorer 8 and earlier does not support the
tag.

html figcaption tag usage example

<!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>
Copy after login

The above is the detailed content of How to use html figcaption tag. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template