Font  - <FONT>   -  </FONT>

Previous- FIELDSET - Fieldset box  |  Next-FORM - Defines a form

Description
This element is largely redundant now that HTML 4.0 has introduced the use of style sheets but is still the most easy way to control the presentation of text. It should be noted that the font face must be installed on the user's computer but dynamic fonts are now being supported by both IE4 and Netscape therefore it is now possible to download fonts. Size specifies the size of the lettering, from 1 (smallest) to 7 (largest). Size can also be used to change the font size relative to the previous font by using SIZE="+2" for example, to make the font size two sizes bigger. If the BASEFONT element has been used to specify the default font size then the SIZE attribute will adjust the size relative to the BASEFONT size specification. Deprecated under HTML 4.0 which recommends the use of the STYLE element.
Attributes
NameValuesDescription
classclassnameClass of the element which is used to associate the element with a style sheet.
colorcolorColour
dirltr|rtlThe direction in which text flows when surrounded by text which flows in different directions.
event_namescript_codeDefines script to run on event such as OnMouseOver
facefont_family_nameName of the font
idstringA unique name to identify an element.
langlanguage_typeThe ISO description for the language of the element.
languagejavascript|jscript|vbscript|vbs
point-sizestring|numberPoint size of the font. Netscape only.
sizenumberFont size
stylestringSpecifies style information for the element.
titlestringTitle for element which is often displayed as a tool-tip when the cursor hovers over the element.
weightstring|numberSpecifies the weight of the font, like WEIGHT="BOLD", or a number. Netscape only.

Example
<font size="+2" face="arial" color="green">this is my text</font>
Will be displayed as :
this is my text

Compatability
HTMLNETSCAPEINTERNET EXPLORER
4.1N2N3N4N6IE3IE4IE5IE6
YES YES YES YES NO YES YES NO NO

Previous- FIELDSET - Fieldset box  |  Next-FORM - Defines a form