hn

< html‎ | elements
Jump to: navigation, search

hn

This article is In Progress.



Summary

The h1 through h6 elements define levels of headings within a document.


Overview Table

DOM Interface HTMLHeadingElement

HTML information

Closing Tag required
CSS Display block


Compatibility

There is no data available for topic "html", feature "hn". If you think that there should be data available, consider opening an issue.

Examples

View live example

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>
<h5>Level-5 Heading</h5>
<h6>Level-6 heading, smallest heading avaliable</h6>

Notes

Remarks

Use H1 through H6 to specify different sizes and styles of headings.

Standards information


See also

Related articles

HTML















































  • hn




… further results

Attribution

This article contains content originally from external sources.

Portions of this content come from the Mozilla Developer Network cc-by-sa-small-wpd.svg: Article

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]

}