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">
That can be used for in-page targeting of elements (e.g. to scroll to a certain point):
<a name="table-of-contents"></a>
<h1>Table of Contents</h1>
...
<a href="#table-of-contents">Table of Contents</a>
Though, this is often redundant (and may also take up white space) because elements with IDs can be targeted directly:
<h1 id="table-of-contents">Table of Contents</h1>
...
<a href="#table-of-contents">Table of Contents</a>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With