Base Font | WebReference

Base Font

HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Base Font


Description: Indicates normal font setting. All other font settings are relative to this one.

Browser Compatibility: NN: 1.0+ / IE: 2.0+

  • color*
  • face*
  • id
  • size*

* Deprecated

Code Example:

<basefont color="#FFF0BB" face="Arial" size="+3">

Comments: Deprecated in favor of Style Sheets.

XHTML Notes: Because it is an empty element, the XHTML 1.0 specification requires a trailing slash: <basefont />

Created: March 15, 2005