Version-//W3C//DTD XHTML 1.0 Transitional//EN
Elementbasefont
Purposechange default font in the document basefont id document-wide unique id
DescriptionThis element changes the default font size 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.
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 iframe ins kbd label legend li noframes noscript object p 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!
search Search · star Market
2023-06-19 · John December · Terms © johndecember.com