Inline <FONT> code

They have: 330 posts

Joined: Apr 2000

I know that has been deprecated, and for 99% of my uses I know how to replace it with css tags.

What is the proper way to make the word soccer blue and everything else default (black) in the sentance below?

"I like to play soccer and football"

Normally I would use a tag around the word soccer and it would work.

Thanks for any help.

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Why is "soccer" blue? That's where you need to start. Is it a way of making it strong or emphasized? If so, use or and style those tags appropriately. You could also something like or and style the class. You could do but that gets messy. Only do that if you know that this is the only time you're oging to want to change the style of the text like that.

Also, "specialword" should be replaced by something more meaningful. Why is that text blue?

They have: 330 posts

Joined: Apr 2000

I have never used em - that is exactly what I was looking for.

Thank you.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.