Highlighting text

Read this tip to make your life smarter, better, faster and wiser. LifeTips is the place to go when you need to know about Tricks & Shortcuts and other Html topics.

Can I add a background color to text?

Highlighting text

With this little trick, you can change the background color of text. If italics and bold don't give you the emphasis that you want, try this, it makes text look highlighted.

<SPAN STYLE="background:red">Highlighted Text</SPAN>

You can replace "red" with your choice of color. The above produces:

Highlighted Text

   

Comments

9/2/2006 6:09:02 PM
Jourdan said:

Thanks for this. It has helped with my websites faq.


9/13/2006 2:46:11 PM
Jimmy said:

Finally!iv been lookin for this for ages!this rules especially if u cant see ur writing




Name:


URL: (optional)


Comment:


Not finding the advice and tips you need on this Html Tip Site? Request a Tip Now!


Guru Spotlight
Phyllis Serbes