Title 1

Title 2

... ". The hgroup tag only groups the titles and has no effect on the style of the titles."/>

Title 1

Title 2

... ". The hgroup tag only groups the titles and has no effect on the style of the titles.">

Home  >  Article  >  Web Front-end  >  What does hgroup mean in css

What does hgroup mean in css

醉折花枝作酒筹
醉折花枝作酒筹Original
2021-04-29 17:52:313813browse

In CSS, hgroup means "title group", which is used to combine the titles of web pages or sections. The syntax is "

Title 1

Title 2

……

”. The hgroup tag only groups the titles and has no effect on the style of the titles.

What does hgroup mean in css

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

"hgroup" is the abbreviation of "heading group" and means "heading group". So what does it mean when it acts as a tag in HTML? Let’s take a look together!

tag definition and usage

In HTML, the

tag is used to group the titles of web pages or sections, that is, to group consecutive titles in a web page or section. The

~

elements are combined.

The tag only groups the title and has no effect on the style of the title.

Tag syntax format

<hgroup><h2>标题1<h2/><h2>标题2<h2/>……</hgroup>

Note: If the article has a title and subtitle, you can use the

tag. Normally, articles with only one main title do not need to use the
tag.

Example:

<html>
  <head>
    <meta charset="utf-8" />
    <title>html中hgroup标签的详细介绍</title>
  </head>
  <body bgcolor="bisque">
    <hgroup>
      <h1>hgroup标签的详细介绍</h1>
      <h2>hgroup标签简介</h2>
    </hgroup>
  </body>
</html>

Effect:

What does hgroup mean in css

Recommended learning: css video tutorial

The above is the detailed content of What does hgroup mean in css. For more information, please follow other related articles on the PHP Chinese website!

html5 css css3 html
Statement:
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
Previous article:Why doesn’t css background appear?Next article:Why doesn’t css background appear?

Related articles

See more