What does hgroup in HTML5 do? The specific usage of the hgroup tag in HTML5 here, let's get in here.

Source: Internet
Author: User
What does hgroup in HTML5 do? The specific use of the hgroup tag in HTML5 in this, click here to see it, this article on the hgroup tag in the HTML5 in detail, including the HTML5 in the specific use of Hgroup, the label of the wording, but also the role of doing a detailed analysis, not much to see, see the text.

The

The role of the hgroup tag in HTML5 is as follows:

For example, in a section where you have successive H-series label elements, you can enclose them in hgroup.

The hgroup tags in HTML5 are written as follows:

Use the


To display a caption group using the Hgroup label:


What is the Hgroup element:

The hgroup element is the element that groups the title and his sub-headings. Hgroup elements typically group H1-H6 elements, such as the title of a content chunk and his sub-headings. Typically, a hgroup element is not required when the article has only one main title.

Specific uses of the Hgroup element:

Here's a detailed demonstration in the development environment:

<article>

If our article has a main title and there are subheadings under the main title, then the Hgroup element is required.

<article>

These code effects self-brain complement ^ ^

When we have the title under the same block and have the main title and sub-headings, we need to hgroup the elements for the package. Although the use of less, but also indispensable, but this tag was abolished in the HTML5.1, but in other versions is very useful. Well, this article is here, there are questions to ask the OH.

"Recommended"

What is the web in HTML5? What are the elements in Web Storage?

What are the article tags in HTML5? Where is the article element used in HTML5?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.