"; 2. Set the font color through "" ."/> "; 2. Set the font color through "" .">
Home > Article > Web Front-end > How to set font color size in css
How to set the font color size in css: 1. Set the font size through "<font size="12px"></font>"; 2. Through "" Set the font color.
The operating environment of this article: Windows7 system, HTML5&&CSS3 version, Dell G3 computer.
<font size="12px"></font>
The font size here is set to 12 pixels. You can also set other sizes. Note that the unit can be pixels or other sizes. For example, centimeters and inches can be used. The hexadecimal value is such as #873422
## The font is bold (you can also use <b></b> , not recommended)
Underline
align="center" is the attribute and center is the value. That is to say, the h1 title is displayed in the middle of the web page, and left and right are used to display the title on the left or right. .
------This is not the case when using css. Direct content
css video tutorial
"The above is the detailed content of How to set font color size in css. For more information, please follow other related articles on the PHP Chinese website!