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="freaky">This text contains a <FONT color="#FF0000">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.
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="freaky">This text contains a <FONT color="#FF0000">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.