Home > Article > Web Front-end > How to use html figure tag
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
#html How to use figure tag?
The
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
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>
Output:
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!