Home > Web Front-end > HTML Tutorial > Which element is used to combine header elements in html 5

Which element is used to combine header elements in html 5

青灯夜游
Release: 2021-06-15 15:59:12
Original
6431 people have browsed it

In HTML 5, the "hgroup" element is used to group header elements. The "

" tag element is used to group the titles of web pages or sections. When the title has multiple levels (subtitles), the hgroup element can be used to group a series of "

-

" elements.

Which element is used to combine header elements in html 5

The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.

In HTML 5, the "hgroup" element is used to group header elements.

Example:

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
	</head>
<body>

<hgroup>
  <h1>欢迎来到php中文网!</h1>
  <h2>免费php在线学习平台</h2>
</hgroup>

<p>php中文网提供大量免费、原创、高清的php视频教程。。。。。</p>

</body>
</html>
Copy after login

Description:

tag is used to group title elements.

When the title has multiple levels (subtitles), the

element is used to group a series of

-

elements.

Recommended tutorial: "html video tutorial"

The above is the detailed content of Which element is used to combine header elements in html 5. 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