HTML <h5> Tag
HTML offers six different-level headings that show the relative importance of the section after the heading. So, the HTML element
<h1> represents the most important heading of the first level, and
<h6> serves to indicate the heading of the sixth level and is the least significant. By default, the title of the first level is displayed in the largest font in bold, the headings of the next level are smaller in size. Elements
<h6> belong to block elements, they always begin on a new line, and after them other elements are displayed on the next line. In addition, blank space is added before and after the heading.
- Permitted Parents
- Any element that accepts flow content; don't use a heading element as a child of the
<hgroup>element — it is now deprecated.
- Inline and text
- Start/End Tags
- Start tag: required, End tag: required
<h1> tag also supports the Global Attributes in HTML5
<h1> tag also supports the Event Attributes in HTML5
|Tablets / Mobile|