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

How to use html section tag

藏色散人
Release: 2019-05-27 15:13:11
Original
6357 people have browsed it

html section tag is used to define sections (sections, sections) in the document. Such as chapters, headers, footers, or other parts of the document. The

tag is a new tag in HTML 5.

How to use html section tag

#html How to use the section tag?

Function: Define sections (sections, sections) in the document. Such as chapters, headers, footers, or other parts of the document.

Description: The

tag is a new tag in HTML 5.

Note: All browsers support the

tag.

html section label example 1

<!DOCTYPE html>
<html>
<body>
<section>
<h1>php.cn</h1>
<p>
PHP中文网:独家原创,永久免费的在线php视频教程,php技术学习阵地!
</p>
</section>
</body>
</html>
Copy after login

Running result:

How to use html section tag

html section label example 2

<!DOCTYPE html>
<html>
<meta charset="utf-8">
<body>
<section>
<h1>西门大官人</h1>
<p>
西门大官人的视频教程和直播课程推荐一看。
</p>
</section>
</body>
</html>
Copy after login

Running results:

How to use html section tag

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