HTML Help, what is the code to make things be highlighted?

gopunk

Lifer
Jul 7, 2001
29,239
2
0
this is how i learned HTML back in the day, right click, view source:


Like this: <font color=white style="background-color: 3E3E3E;">Text</font ft>

What is the HTML code behind that?
<b>-- mrcodedude</b>
 

jjones

Lifer
Oct 9, 2001
15,424
2
0
It's a style tag; part of CSS (Cascading Style Sheets).

Here's the code for it that you can place in your font tag:

style="background-color: 3E3E3E;"

example: <font color=white style="background-color: 3E3E3E;">Text</font>
 

jjones

Lifer
Oct 9, 2001
15,424
2
0


<< this is how i learned HTML back in the day, right click, view source: >>


LOL, yeah, I think we all learned a bit that way. :)