Home > Web Front-end > Front-end Q&A > How to use html figure tag

How to use html figure tag

青灯夜游
Release: 2019-05-27 10:37:04
Original
4437 people have browsed it

The figure tag is a new tag in HTML 5, used to specify independent flow content (images, charts, photos, code, etc.); the content of the figure element should be related to the main content, but if it is deleted, it should not Document flow has an impact. The

tag is supported by all major browsers.

How to use html figure tag

#html How to use figure tag?

The

tag is a new tag in HTML 5, used to specify independent flow content (images, charts, photos, code, etc.).

Note: The content of the figure element should be related to the main content, but if deleted, it should not have an impact on the document flow.

Note: All major browsers support the

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

html figure tag example

<!DOCTYPE HTML>
<html>
<body>
<p>ThinkPHP5快速开发企业站点</p>
<figure>
    <p>本课以最新版ThinkPHP5.0.10为基础进行开发,全程实录一个完整企业点,从后台到前台,从控制器到路由的全套完整教程,不论是你是新人,还是有一定开发经验的程序员,都可以从中学到实用的知识~~</p>
    <img  src="https://img.php.cn/upload/course/000/000/003/5a5338f71e13f195.jpg"    style="max-width:90%"  style="max-width:90%" / alt="How to use html figure tag" >
</figure>
</body>
</html>
Copy after login

Output:

How to use html figure tag

The above is the detailed content of How to use html figure 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