Name
SIZE — NN all IE all HTML 3.2
Synopsis
SIZE=”integerOrRelativeSize"
Optional
Font sizes referenced by the SIZE
attribute are on
a relative size scale that is not tied to any one point size across
operating system platforms. The default browser font size is 3. The
range of acceptable values for the SIZE
attribute
are integers from 1 to 7 inclusive. The exact point size varies with
the operating system and browser design.
Users can often adjust the default font size in preferences settings.
The SIZE
attribute overrides that setting.
Moreover, SIZE
values can be relative to whatever
font size is set in the preferences. By preceding an attribute value
with a +
or -
sign, the
browser’s default size can be adjusted upward or downward, but
always within the range of 1 through 7.
Example
<BASEFONT SIZE=4> <BASEFONT SIZE="+3">
Value
Either an integer (quoted or not quoted) or a quoted relative value,
consisting of a +
or -
symbol
and an integer value.
Default
3
Object Model Reference
- IE
[window.] document.all.tags(“basefont”)[i].size
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.