Home > Article > Web Front-end > How to change font color in HTML
Where to change the font color setting in html? What are the methods to set the font color code in html?
Today I will introduce to you how to set the font color in HTML, how to modify the font color, and how to accurately obtain the font color.
1. html fontFont color setting - TOP
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 + the corresponding color value in the font tag to set the font tag. ObjectInternal font color.
2. Example of html font setting font color
2-1. Complete code of html font color example:
font字体颜色在线实例 <font color="#FF0000">我是红色字体</font>
你好 |
html Where to change the font color setting? It ends here. , friends in need can continue to pay attention to this site.
Related reading:
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!