Home  |  Latest News  |  Contribute  |  F.A.Q.  |  Account  |  Scripts | About
Search ASPNut:
 
ASP Reference
Server Variables
ASP Glossary
Related Sites

Free Components

HTML Reference
Web Colors
Entities
CSS Level 1
Encode/Decode
Glossary

Our Sponsors
ASP Nuke CMS
Free Auctions
PHP 5 Script
Funktastic Blog
ULost Directory
Team Task

 

 

 

 

 

 

 

 

 

 

 

 

<FONT>

The FONT tag is used to indicate font styles (text formatting) for content on your web page. It can be used to change the font face (family), size or color as well as many other styles using the inline STYLE attribute.

You can create combinations of font tags each nested one inside the other. Font formats are combined in some cases and overriden in others. It is a good idea to experiment with the FONT tag to understand all it's capabilities.

Attributes

Attribute Description
ID Identifies this tag to reference in script (program code)
CLASS Define the class used to render this element (defined by a style sheet)
TITLE A title that is associated with the element (displayed as a tooltip in Internet Explorer)
SIZE [DEPRECATED] Indicates the size of the text to use. The standard sizes are numbered 1 to 7. If you want to change the text size relative to the current text size you can enter a size like: +1 or -2
COLOR [DEPRECATED] Indicate the color of the text as it appears on the page. This color should be a color code like #338033 or a named color constant such as azure
FACE [DEPRECATED] Comma-separated list of font names to render the font as. The browser will find the best match based on the local computers font selection

Example

<FONT COLOR="#336688" SIZE="3" FACE="Comic Sans">Goofy looking font<FONT>

Renders As:

Goofy looking font

Compatibility

The tag is deprecated and will disappear in the future
It is replaced by Cascading Style Sheets (CSS)

HTML 4.01

Return to HTML Tag Reference Overview

Orvado Technologies

ASP Nuke CMS
Free Open Source
Content Manager
HomeFix Boards
Home Remodeling
Message Boards

Contact Us | Contribute | About | Site Map



"True friends stab you in the front." - Oscar Wilde

©2007 Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.