BASEFONTBASEFONT*
*Contents  *Index  *Topic Contents
*Previous Topic: BASE
*Next Topic: BGSOUND

BASEFONT

Description

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

Syntax

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

ParameterDescription
CLASS=classname Class of the tag being defined. This is used to associate a subclassed style sheet with the tag.
COLOR=color Color to be used by the font or horizontal rule. For a complete list of colors, see the Internet Explorer color table.
FACE=font Current font typeface.
ID=value SGML identifier used as the target for hypertext links or for naming particular elements in associated style sheets. Valid ID values must begin with a letter. The underscore character, "_", may be used in the ID name. The ID should be unique throughout the scope of the document. If more than one object with the same identifier exists in a document, a collection of those named items is created that can only be referenced by ordinal position.
LANG=language Specifies which language to use in ISO standard language abbreviation form.
SIZE=n Font size between 1 and 7 (7 is largest).

Remarks

This is an empty element and does not require a closing tag. This element may be used within the BODY tag or the HEAD tag. BASEFONT should appear before any displayed text in the BODY of the document.

Example

<BASEFONT SIZE=3> This sets the base font size to 3.
<FONT SIZE=+4> Now the font size is 7.
<FONT SIZE=-1> Now the font size is 2.

Scripting Object

BASEFONT


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.