i wonder why i can’t use, or should not use
a { ... }
vs
a:link, a:visited { ... }
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you only style
a {...}then the style will be applied to all anchor elements including<a name="..."></a>elements, which define an anchor within the page, but do not reference a hyperlink.a:link {...}specifically relates to hyperlinks.:visited,:hoverand:activeare different states of these links. Note that:hoverand:activecan apply to other elements as well.