CSS Text Background

CSS Text Tips

Creating Text with CSS Background
What can you do with text is to beautify the text with the background color of the text. You do this by providing the background-color syntax.
<body> <h1 style="color:#FFFFFF"> <span style="background-color: #006699"> HTML Tips</ span> </ h1> </ body>

Examples of programs:

<title>Color Background Teks</title>
<h1 style="color:#FFFFFF">
<span style="background-color:#FF0000">

<h2 style="color:#000000">
<span style="background-color:#2BE20C">
CSS Tutorial


Writing style used is <span> tags.
The result is below:

Background Color Text: to set the background color property on the text then the text is obtained with a certain background color.


Post a Comment