Color part 1

The color Property



The CSS color property specifies the color of the text.
One method of specifying the color of the text is using a color name: like red, green, blue, etc. 
Here's an example of changing the color of your font.

The HTML:<p class="example">The text inside the paragraph is green.</p>
The text outside the paragraph is black (by default).

The CSS:
p.example {
color: green;
}
Try It Yourself

Result:
Tap Try It Yourself to play around with the code!

Comments

Popular posts from this blog

font-family part 1