Do the site must want to make their website content colorful, then you may want to change the black font, how to set the font color of the page? Let's give you a brief introduction today.
div font Color div inside text color settings Chapter
Use CSS style Word: color
Set font color inside div tag
Set font text color inside div tags use the style property to set CSS color
<div style= "color: #F00" > My color is red </div>
div external Set Font text color
External CSS settings div inside the font color is blue
1. CSS code inside the head tag
<style>. abc{color: #00F} </style>
2. Body Web content Code
<div class= "abc" > My color is blue </div>
HTML font color settings on so many, more wonderful please pay attention to the PHP Chinese network other related articles!
Related reading:
Why CSS styles are set for div?
How to use HTML
HTML drop-down menu code