Version-//W3C//DTD HTML 4.01 Transitional//EN
ElementFONT
Purposeset font face, color, and size of text
DescriptionThis element encloses text whose appearance is modified by the face, size, and color attributes. Note that the font face has to be installed on the user's computer in order for it to be displayed in that face.
Start tagRequired <FONT>
Attributes
NameTypeDefaultComment
class CDATA #IMPLIEDspace-separated list of classes
color CDATA #IMPLIEDcolor code as #RRGGBB in hexadecimal or 16 named colors; text color
dir( ltr | rtl )#IMPLIEDdirection for weak/neutral text
face CDATA #IMPLIEDcomma-separated list of font names
idID#IMPLIEDdocument-wide unique id
lang NAME #IMPLIEDlanguage code as RFC1766
size CDATA #IMPLIED[+|-]nn e.g. size="+1", size="4"
style CDATA #IMPLIEDstyle sheet data; associated style info
title CDATA #IMPLIEDtext; advisory title
Content( #PCDATA | TT | I | B | U | S | STRIKE | BIG | SMALL | EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE | ABBR | ACRONYM | A | IMG | APPLET | OBJECT | FONT | BASEFONT | BR | SCRIPT | MAP | Q | SUB | SUP | SPAN | BDO | INPUT | SELECT | TEXTAREA | LABEL | BUTTON )*
End tagRequired </FONT>
Referenced in A ABBR ACRONYM ADDRESS APPLET B BDO BIG BLOCKQUOTE BODY BUTTON CAPTION CENTER CITE CODE DD DEL DFN DIV DT EM FIELDSET FONT FORM H1 H2 H3 H4 H5 H6 I INS KBD LABEL LEGEND LI NOSCRIPT OBJECT P PRE Q S SAMP SMALL SPAN STRIKE STRONG SUB SUP TD TH TT U VAR
Example
SourceAppearance
<FONT Size="1">one fish</FONT>
<FONT Size="2">two fish</FONT>
<FONT Color="red" Size="+3">red fish</FONT>
<FONT Color="blue" Size="+1">blue fish</FONT>
<FONT Color="green" Size="+5" Face="Courier">The Sea</FONT>
<FONT Color="purple" Size="+5" Face="Muddy">Monster</FONT>
one fish two fish red fish blue fish The Sea Monster
search Search · star Market
2023-06-19 · John December · Terms © johndecember.com