Font Definition | WebReference

Font Definition

HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Font Definition

<font> ... </font>

Description: Defines the font characteristics.

Browser Compatibility: NN: 1.1+ / IE: 2.0+ / Opera: 4+

Attributes:
  • class
  • color*
  • dir
  • face*
  • id
  • lang
  • size*
  • style
  • title

* Deprecated

Code Example:

<font size="+2" face="Arial, Sans-Serif" color="#F0F8FF">This should display quite nicely</font>

Comments: Deprecated in favor of Style Sheets.




Created: March 15, 2005

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