| How to Set Text Background Color Using CSS |
|
The entire document code will appear like this:
<html>
<head> <style type="text/css"> span.yellow { background-color:yellow } </style> </head> <body> <p> <span class="yellow">This is a text</span> </p> </body> </html> Before applying Css:
After applying Css:
|

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License