hgroup tag

<hgroup>

Explanation

Hgroup tag is a set of tags from <h1> to <h6>.
It can also be denoted as the "Heading Tag".
<hgroup> <h1>Text</h1> <h2>Text</h2> <h3>Text</h3> <h4>Text</h4> <h5>Text</h5> <h6>Text</h6> </hgroup>

Example Code:

Result :

Scripts

Php Scripts

Javascripts

Jquery Scripts

Ajax scripts
Jsp Scripts
  • The font color and style of the contents placed inside this tag can be changed.
  • It is not possible to modify the size of contents enclosed by this tag.
It is newly launched in HTML5.
It supports both Global Attributes and Event Attributes in HTML5.

Limitations:

It will function in all the major browsers, except "Internet Explorer" 8.0 and its previous versions.

Ask Questions

Ask Question