Click to return to the DHTML, HTML     
history Object     HR Element | HR Object     DHTML Objects    
Web Workshop  |  DHTML, HTML & CSS

Hn Element | Hn Object


Renders text in heading style.

HTML Syntax

<Hn
    ALIGN=CENTER | LEFT | RIGHT | JUSTIFY
    CLASS = classname
    ID = value
    LANG = language 
    LANGUAGE = JAVASCRIPT | JSCRIPT | VBSCRIPT  | VBS
    STYLE = css1-properties
    TITLE = text
    event  = script
></Hn>

Remarks

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

The Hn element is a block element and requires a closing tag.

This element is available in HTML as of Microsoft® Internet Explorer 3.0, and in script as of Internet Explorer 4.0.

Members

Styles

Example

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

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


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.