Name
<FONT> — NN all IE all HTML 3.2
Synopsis
<FONT>...</FONT>
End Tag: Required
A FONT
element is a container whose
contents are rendered with the font characteristics defined by the
element’s attributes. This element is deprecated in HTML 4.0 in
favor of font attributes available in style sheets that are applied
directly to other elements or the artificial SPAN
container for inline font changes. This element will be supported for
a long time to come to allow backward compatibility with web pages
designed for older browsers, however.
The FONT element has evolved over its lifetime,
adding new attributes along the way to work in the more mature
browsers. Navigator includes some proprietary attributes for Version
4 that are better served by style sheets for cross-browser
compatibility.
Example
<FONT FACE="Times, serif" SIZE=4>
Object Model Reference
- IE
[window.]document.all.elementID
Attributes
|
|
|
|
|
|
|
|
ID |
|
STYLE |
|
|
|
|
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