Change css font properties mid sentance?

Soldato
Joined
18 Oct 2002
Posts
9,160
Poor title I know but bare with me. I have a sentance, for example:

"Hello my name is Fred"

Say I wanted the "Hello my name is" part of the sentance to be one colour, then the remaining word, in this case "Fred" to be a seperate colour and have different properties. How could I do this without the sentance breaking onto another line using either <p> or <br>?
 
Back
Top Bottom