This document contains the following rules in a style element:

:link, :visited { text-decoration: underline overline; }
:link:focus, :visited:focus { color: green; }
:link { color: red; }
:visited { color: yellow; }
:link:hover, :visited:hover { color: blue; }
:link:active, :visited:active { color: fuchsia; }

For testing, here is a visited link and an unvisited link. (How about one, two, three, four, and five more unvisited links.)

Valid HTML 4.0!

(Back to Notes on stylesheet linking, CSS, David Baron)