Version-//W3C//DTD HTML 4.01 Transitional//EN
ElementBASEFONT
Purposechange default font in the document
DescriptionThis element changes the default font size and/or color in the document. All text contained within it will be rendered according to the value of the size attribute. Note that this is an EMPTY element, so don't nest these. 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 <BASEFONT>
Attributes
NameTypeDefaultComment
color CDATA #IMPLIEDcolor code as #RRGGBB in hexadecimal or 16 named colors; text color
face CDATA #IMPLIEDcomma-separated list of font names
idID#IMPLIEDdocument-wide unique id
size CDATA #REQUIREDbase font size for FONT elements
ContentEMPTY
End tagForbidden
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
All
<BASEFONT Size = "1" color="red">your
<BASEFONT Size = "2" color="#27408B" face="Courier">base
<BASEFONT Size = "3">fonts
<BASEFONT Size = "4" color="#008080" face="Times">are
<BASEFONT Size = "5">belong
<BASEFONT Size = "6" color="purple" face="Muddy">to
<BASEFONT Size = "7">us!
All your base fonts are belong to us!
Save this page to any social bookmarking site! Share · Search · Market · Directory
2015-11-01 · John December · Contact · Terms of Use © December Communications, Inc.