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