hn element | hn object (Internet Explorer)

Switch View :
ScriptFree
hn element | hn object

[This documentation is preliminary and is subject to change.]

Renders text in heading style.

Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5HTML 4.01 Specification, Section 7.5.5

Standards information

HTML information

Closing Tagrequired
CSS Displayblock

DOM Information

Inheritance Hierarchy

 Node
  Element
   HTMLElement
     hn

Remarks

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

Examples

This example uses the H1 element to apply a level-1 heading style to the contained text.


<H1>Welcome to Internet Explorer!</H1>

 

 

Build date: 3/8/2012