*** 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
To create a flex container, simply add a display:...
There are two ways: 1. Service method Check the f...
Similar to the code hosting service provided by G...
Deploy the MySQL environment locally (192.168.1.1...
XQuery is a language for extracting data from XML...
Generally, lists have selection functions, and si...
When Mysql occupies too much CPU, where should we...
I am happy that some bloggers marked my article. ...
Table of contents Install Software Management Ano...
This article shares the specific code for JavaScr...
This article introduces 5 ways to solve the 1px b...
Preface: Sometimes, the session connected to MySQ...
Anchor tag usage: Linking to a specific location i...
Table of contents 1. What is a JavaScript engine?...
Why do we need to summarize the browser compatibi...