Home>Article>Web Front-end> How to change font color in html
htmlThe method to change the font color is to use the font tag to set the color of the font content. The syntax is [c0025c2938efc05b97bd9beea08ca0c4I am a red fonte6e38b3c62e8df885fe2e3986461aa63].
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:
我是红色字体
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 我是红色字体
你好 | 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!