Name
BASEFONT — NN n/a IE 4 DOM 1
Synopsis
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. The BASEFONT
element overrides the default font settings in the browser’s
user preferences settings.
Be careful with the outerText
and
outerHTML
properties (and the undocumented
innerText
and innerHTML
properties in the Windows version). Because this element does not
have an end tag, virtually the entire document becomes part of these
property values. Altering them can easily result in a lost document.
All four of these properties are best utilized in elements that act
as HTML containers by virtue of the position of their start and end
tags.
HTML Equivalent
<BASEFONT>
Object Model Reference
- IE
[window.]document.all.
elementID
Properties
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
|
|
|
|
Collections/Arrays
|
|
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.