Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS a vs a:link Re: a vs a:link

#86411
Johann
Member

Plain a also applies to anchor that don’t have a href attribute set, while a:link only applies to anchor tags that have one.

As to which one you should use, if you don’t need that distinction, you don’t really need to specify :link I guess… just keep in mind that if there are definitions for both a and a:link, a:link will be used where appropriate since it is more specific — that caused confusion for me before.