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;
Cascading Style Sheets are the preferred method to achieve the
functionality of <basefont>.
Attributes
color=#rrggbbornameInternet Explorer 3.0+ only. Sets the color of the following text using hexadecimal RGB values.
face=fontInternet Explorer 3.0+ only. Sets the font for the following text.
size=1|2|3|4|5|6|7|+1|+2|+3|+4|-1|-2Sets 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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access