Base Font | WebReference

Base Font

HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Base Font

<basefont>

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

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

Attributes:
  • 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

URL: http://webreference.com/html/reference/specs/