*** Example of setting the style of a hyperlink a:link The state of a hyperlink before being clicked a:visited The state after a hyperlink is clicked a:hover Hovering over a hyperlink a:active When clicking a hyperlink There is an order in defining these states. Code area: XML/HTML CodeCopy content to clipboard
Running display: When the mouse arrow is not on "Baidu", it displays black - when it is on, it displays red - when you click the "Baidu" link, it displays orange - after clicking, it displays black The above article on HTML basics - a simple example of setting the style of hyperlinks is all I have to share with you. I hope it can give you a reference, and I also hope that you will support 123WORDPRESS.COM. Original URL: http://www.cnblogs.com/H2921306656/archive/2016/07/10/5658752.html |
<<: Essential for front-end development: 12 browser compatibility testing tools recommended
>>: Docker custom network container interconnection
Preface After a failover occurs, a common problem...
Table of contents The first step of optimization:...
Table of contents Linux environment variables and...
When using MYSQL, triggers are often used, but so...
Load balancing is a commonly used device in serve...
Table of contents Introduction Introduction Aggre...
Table of contents summary Problem Description Ana...
Table of contents 1. Compiler code format specifi...
Preface I recently encountered some problems at w...
We implement a red image style for the clicked bu...
1. Introduction to Compose Compose is a tool for ...
This article mainly involves solutions to problem...
Table of contents MySQL delete syntax alias probl...
In the previous article https://www.jb51.net/arti...
Based on Vue and native javascript encapsulation,...