Home > Article > Web Front-end > How to change the color of HTml5 hyperlink font
How to change the font color of HTml5 hyperlinks: first create a new interface; then use a browser to open the html page, and add a red color if the style setting is successful in one of the hyperlinks; finally use the browser to open the page again.
The operating environment of this tutorial: windows7 system, html5 version, DELL G3 computer. This method is suitable for all brands of computers.
How to change the font color of HTml5 hyperlink:
1. Create a new html interface, as shown in the figure
2. Set the hyperlink information. Here are a few settings to compare the effects later, as shown in the figure
3. Use the browser to open the html page. At this time, the hyperlink The link font is displayed in black, as shown in the figure
4. Add the style setting to one of the hyperlinks in red if successful, as shown in the figure
5. Use the browser to open the html page again, and the hyperlink set to red will be sent and the font will be displayed in red, as shown in the figure
6. If the hyperlink is compared If you don’t want to write them one by one, you can add style nodes in the head to uniformly set the color of the hyperlinks, as shown in the figure
Related learning recommendations: html video tutorial
The above is the detailed content of How to change the color of HTml5 hyperlink font. For more information, please follow other related articles on the PHP Chinese website!