Pseudo class:visited is used to add special styles to visited links. Possible values can be color names in any valid format.
<html> <head> <style> a:visited { color: #006600 } </style> </head> <body> <a href = "">Click this link</a> </body> </html>
The above is the detailed content of How to use the `:visited` pseudo-class in CSS. For more information, please follow other related articles on the PHP Chinese website!