Thread: Notes for HTML
View Single Post
Old 04-15-2008, 05:19 PM   #11 (permalink)
KoOL
 
KoOL's Avatar

 
User Info
Join Date: Oct 2007
Location: In Your Mind
Age: 27
Achievements Posts: 11,081
Casino Cash: $1187430

Total Points: 239,825,816,696.72
Donate

KoOL has disabled reputation

Awards Showcase
Administrator Of the Month Of Jan 
Total Awards: 1
HTML <font> tag

Definition and Usage

The <font> tag specifies the font face, font size, and font color of text.
Differences Between HTML and XHTML

The font element was deprecated in HTML 4.01.
The font element is not supported in XHTML 1.0 Strict DTD.
Tips and Notes

Tip: Use styles (instead of the <font> tag) to define the font face, font size, and font color of text.
Example

Source Output <font size="3" color="red">
This is some text!
</font>
<font size="1" color="blue">
This is some text!
</font>
<font face="arial" color="red">
This is some text!
</font> This is some text! This is some text! This is some text!
Optional Attributes

DTD indicates in which DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
Attribute Value Description DTD color rgb(x,x,x)
#xxxxxx
colorname Defines the color of the text in the font element. Deprecated. Use styles instead TF face list_of_fontnames Defines the font of the text in the font element. Deprecated. Use styles instead TF size A number from 1 to 7.
If basefont is specified you can specify a number from -6 to 6 Defines the size of the text in the font element. Deprecated. Use styles instead TF


For Download Links U need to Press Thanks Button

Please don't PM me For Posts, Request and Not Working Threads. Use Button.
KoOL is offline   Reply With Quote
The Following User Says Thank You to KoOL For This Useful Post:
gini (10-19-2008)
Click here to Donate to remove the Adverts.