Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

depricated font tag

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
The font tag is depricated in favor of css.
Not a big problem, I can adapt, but how do you change the css class in the middle of a line?

i.e.
<P class=&quot;freaky&quot;>This text contains a <FONT color=&quot;#FF0000&quot;>RED</FONT> word.

I'd like to know how to change from the freaky class to the redfreaky class for that one work instead of using the depricated FONT tag.

I looked in the w3c html 4.0.1 documentation.
It gave a demonstration of how to create a class- fair enough- and stated that use of FONT is now depricated- fair enough- but failed to mention how to switch classes in the middle of a line, when you don't want to insert a new <P> tag.

Thanks for your help.
 
Yup, that's the answer! Congrats on finding it yourself. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top