BASEFONT Element | BASEFONT Object

MS Office DHTML, HTML & CSS

BASEFONT Element | BASEFONT Object


Sets a base font value to be used as the default font when rendering text.

HTML Syntax

<BASEFONT
    CLASS=classname
    COLOR=color
    FACE=font
    ID=value
    LANG=language 
    SIZE=n
>

Remarks

This element can be used only within the BODY element or the HEAD element. BASEFONT should appear before any displayed text in the BODY of the document.

The BASEFONT element does not require 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

Example

This example uses the BASEFONT element to set the base font size, and the FONT element to temporarily override it.

No BASEFONT size specified yet.
<BASEFONT SIZE=4> Set the BASEFONT size.
<FONT SIZE=2> Temporarily override the BASEFONT size.</FONT>
Resume the BASEFONT size.

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.