HTML and CSS Reference
In-Depth Information
Function Sets the font size for text
Attributes class , color , dir , face , id , lang , size , style ,
End tag
</font> ; never omitted
Used in
To control the color of text for the entire document, see the attributes for
the <body> tag, described. [ Additions and Extensions to the <body> Tag,
5.3.1 ] The size attribute
The value of the size attribute must be one of the virtual font sizes (17)
described earlier, defined as an absolute size for the enclosed text or
preceded by a plus or minus sign (+ or -) to define a relative font size
that the browser adds to or subtracts from the base font size (see sec-
tion 4.10.2 ). The browsers automatically round the size to 1 or 7 if the
calculated value exceeds either boundary.
Search WWH ::

Custom Search