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
|
|
|
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