Home > Article > Web Front-end > How to change the font color of hyperlinks
How to modify the font color of hyperlinks: First create a new html code file; then set it to the desired color by adding a color style to the hyperlink.
The operating environment of this article: windows7 system, HTML5&&CSS3 version, DELL G3 computer.
First we need to create a new html interface and set the hyperlink information. You can set a few more to compare the final effect.
Then we find a browser on the desktop and open the html page. At this time, the hyperlink font is displayed in black.
Select one of the hyperlinks and set the style to the desired color. Open the HTML page with the browser again and you will see that the set hyperlink font changes color.
When there are many hyperlinks whose colors need to be changed, you can add style nodes to the head to uniformly set the colors of the hyperlinks.
Recommended study: "css video tutorial"
The above is the detailed content of How to change the font color of hyperlinks. For more information, please follow other related articles on the PHP Chinese website!