htmlThe method to change the font color is to use the font tag to set the color of the font content. The syntax is [I am a red font].
The operating environment of this tutorial: windows7 system, html5 version, DELL G3 computer.
htmlHow to change the font color:
In HTML we use the font tag to set the color of the font content.
1. Font syntax:
<font color="#FF0000">我是红色字体</font>
First of all, font is a pair of regular tags. Put the font text content into the tag. Set the color color corresponding to the color value in the font tag to set the font tag object. Internal font color.
2. Example of setting font color in html font
font字体颜色在线实例 DIVCSS5 <font color="#FF0000">我是红色字体</font>
你好 | DIVCSS5 |
Related learning recommendations: html video tutorial
The above is the detailed content of How to change font color in html. For more information, please follow other related articles on the PHP Chinese website!