asp.net.ph

Skip Navigation Links

Hn Element | Hn Object

Language References


Renders text in heading style.HTML 2, 3.2, 4, 4.01, 5

HTML Syntax


Remarks

The elements H1 thru H6 are used to specify different sized headings.

Headings are usually displayed in a bolder and larger font than normal body text, with level 1 headings ( H1 ) being the most prominent, and level 6 headings ( H6 ) the least.

Heading elements start on a new line. All browsers add extra space before heading elements.

The end tag is required to restore the formatting to normal.

Members

Hn Members

Example

<H2>This is a level 2 heading</H2>
<H3>This is a level 3 heading</H3>

This is a level 2 heading

This is a level 3 heading


See Also

Using Heading Elements



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note