Quote:
Originally Posted by Young
i want to change the color of one word in the middle of a sentence. it's not going to be a link...it's just for emphasis.
using
in the middle of a paragraph doesn't validate.
is there any way to do it OTHER THAN making it a hyperlink and changing the cursor to default through css.
|
Use the span element.
Code:
<style>#className { color:#ff0000; }</style>
Your sentence with <span id="className">text to change</span> in the middle.