A:link selector


Does a:link select the links that haven’t been visited yet?

I think the link should be green if it hasn’t been visited because I set a:link color to be green. But it obeys to the a:visited rule set. If a:visited color is black, the color of the link turns to be black. If a:visited color is blue, the color of the link turns to be blue. So I don’t know how a:link works.

Thank you for your reply.


The visited color will be black if you’ve been to the website before.
You can test this out by changing the href. Just add a character to it like google.com23.
This is just for testing though because the link wont lead anywhere.