JOIN NOW LOG IN
iVillage GardenWeb iVillage GardenWeb THE INTERNET'S GARDEN & HOME COMMUNITY ADVERTISEMENT
Blogs Forums Photo Galleries Ask The Experts Tools & Directories        
Return to the Web Authoring Forum | Post a Follow-Up

 o
Highlighting texts

Posted by stacruzp (My Page) on
Thu, Feb 13, 03 at 18:58

I have seen html docs where texts were highlighted or having color background (not BODY BGCOLOR=...). Was it done with just html tags or other processes were used? Thanks - Jun.


Follow-Up Postings:

 o
RE: Highlighting texts

html
you can set the font color
< font color="#ff0000" > red text


 o
RE: Highlighting texts

Hi Prettyphysicslady,
Thanks for the idea. But what I would really like is to highlight an html text(s), like you would highlight a paragraph on a, say, paperback with colored pigment (highlighter pen) so it would be easy to find later. Jun.


 o
RE: Highlighting texts

Here's how
< font style="background-color:yellow" >yellow highlighted text

Just close the spaces in the opening font tag
< font...yellow" > (There should be no space between < and font or yellow" and >

I hope that's clear. If not, look at this web page and view the source code:

Highlighted Text


 o
RE: Highlighting texts

Bird_nj - just what I had in mind! Thanks! Jun.


 o
RE: Highlighting texts

The new modern way to do this is via 'span' tags. That is, instead of

<font style="background-color:yellow">yellow highlighted text</font>

You would use

<span style="background-color:yellow">yellow highlighted text<span>



In any case, you should definitely add </FONT> anywhere you use <FONT>


 
 

 

 


Click here to learn more about in-text links on this page.



iVillage GardenWeb: The Internet's Garden & Home Community  
  iVillage Home & Garden Network