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.
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>
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!