Name
<BASEFONT> — NN all IE all HTML 3.2
Synopsis
<BASEFONT>
End Tag: Forbidden
A BASEFONT
element advises the browser of some font information to be used as
the basis for text rendering of the current page below the
BASEFONT
element. You can apply this element in
either the HEAD
or BODY
portion
of the document (although Microsoft recommends in the
BODY
only for IE 4), and you can insert
BASEFONT
elements as often as is needed to set the
base font for a portion of the document. Be aware that settings of
the BASEFONT
element do not necessarily apply to
content in tables. If you want table content to resemble a custom
BASEFONT
setting, you likely have to set the font
styles to table elements separately.
The BASEFONT
element overrides the default font
settings in the browser’s user preferences settings. Like most
font-related elements, the BASEFONT
element is
deprecated in HTML 4.0 in favor of style sheets. The latter provide
much greater control over fonts (see Chapter 10).
Example
<BASEFONT FACE="Times, serif" SIZE=4>
Attributes
|
|
|
|
|
|
|
|
|
|
Get Dynamic HTML: The Definitive Reference 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.