Name

<basefont> — NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4D - WebTV - Opera3

Synopsis

                        <basefont>
                     

Specifies certain font attributes for text following the tag. It can be used within the <head> tags to apply to the entire document, or within the body of the document to apply to the subsequent text. This tag is not part of the HTML standard.

Attributes

color=" #rrggbb " or name

MSIE 3.0+ only: Sets the color of the following text using hexadecimal RGB values.

face= font

MSIE 3.0+ only. Sets the font for the following text.

size= value

Sets the basefont size using the HTML size values from 1 to 7 (or relative values based on the default value of 3). Subsequent relative size settings will be based on this value.

Get Web Design in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.