Home > Web Front-end > HTML Tutorial > What is the function of section tag

What is the function of section tag

云罗郡主
Release: 2019-02-16 13:54:33
Original
26588 people have browsed it

What is the role of the section tag? The

section tag defines the section (section, section) in the document. Such as chapters, headers, footers, or other parts of the document. The section element represents a section of the document or application. By "section," I mean an area of ​​content grouped by topic, usually with a title.

html section tag syntax

Function: Define the section (section, section) 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 tag example

1

2

3

4

5

6

7

8

9

10

11

<!DOCTYPE html>

<html>

<body>

<section>

<h1>php.cn</h1>

<p>

PHP中文网:独家原创,永久免费的在线php视频教程,php技术学习阵地!

</p>

</section>

</body>

</html>

Copy after login


The above is the detailed content of What is the function of section tag. For more information, please follow other related articles on the PHP Chinese website!

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