Hn Object

MS Office DHTML, HTML & CSS

 
Click to return to the DHTML, HTML & CSS home page    
history Object     HR Element | HR Object     DHTML Objects    

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!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.