Name
:visited — IE4 Y/Y | IE5 Y/Y | NN4 N/N | Op3 Y/-
Synopsis
This pseudo-class applies to hyperlinks, but not named anchors. It sets the styles to be used for a hyperlink that points to a URI that has already been visited (i.e., is listed in the browser’s history).
Example
A:visited {color: navy;}
Values
n/a
Default
n/a
Inherited
yes
Applies to
anchor elements with an HREF attribute
Get Cascading Style Sheets: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.