The Issue
I have read a couple older SO posts researching info on the anchor pseudo classes, and keep coming across confusion between "a" vs "a:link" and when and why you would use either. In the most common reason I've seen it is often stated that "a" would style links like
<a name="something">
My Questions
- I'm just curious if anyone can explain WHY you would want to do something like that?
- I've read that maybe it has something to with JavaScript targeting, but with HTML5/CSS3 and libraries like jQuery is this even a valid technique to use anymore?
- In what instances would using an anchor tag that is not a link (i.e., doesn't have an "href" attribute) be #BestPractice, or is this method completely deprecated?