text background color

liunx

Guest
Hi, I'm looking for a way to give my text a background color that is different from the background color of the page.<br />
<br />
I want to do it using simple html and not CSS. I want to be able to have a white background, but have the text with a red background.<br />
<br />
Thank you for your help.<br />
<br />
Ryan<!--content-->the best and simplist way would be to use an inline style attribute instead of a css sheet, like:<br />
<br />
<span style="background-color:red;">my red background here</span><br />
<br />
<br />
from experience, to use just pure html, it would get annoying programming it only because most html tags don't support the bgcolor attribute and also, the w3c is ( i believe ) making the bgcolor attribute depreciated since it is currently viewed as obsolete in favore of styles...<!--content-->
 
Back
Top