hn
hn
This page has been flagged with the following issues:
High-level issues:
Summary
The h1 through h6 elements define levels of headings within a document.
Overview Table
| DOM Interface | HTMLElement |
|---|
HTML information
| Closing Tag | required |
|---|---|
| CSS Display | block |
Examples
HTML
<!--
The H1 element applies a
level-1 heading syle to the
contained text.
-->
<h1>Welcome to Web Platform Docs!</h1>
<!--
H2 is used for level-2 headings.
-->
<h2>Introduction</h2>
<!-- etc. -->
<h3>Prologue</h2>
<h4>Level-4 Heading</h4>
Notes
Remarks
Use H1 through H6 to specify different sizes and styles of headings.
Standards information
- Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5
- HTML 4.01 Specification, Section 7.5.5
Compatibility
Desktop
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic Support | Supported (when?) | 1.0 | Supported (when?) | Supported (when?) |
Supported (when?) |
Mobile
| Feature | Android | BlackBerry | Chrome for mobile | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Opera Mini | Safari Mobile |
|---|---|---|---|---|---|---|---|---|
| Basic Support | ? | ? | ? | 1.0 | ? | ? | ? | ? |
See also
Related articles
HTML
- hn
This article contains content originally from external sources.
Portions of this content come from the Mozilla Developer Network
: Article
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]
}
This tool helps to make and review comments inline.
How to Use
insert instructions, with images, here