b> Why using a:link ?

b> <a> </a>  means that the word inside is a link

b> a { color:blue;  text-decoration:underline; }

b> is the same as setting

b> a:link { color:blue; text-decoration:underline; }

b> Link is a redundant tag

I don't know the intricacies of all this, but I believe there is a
distinction. <a> </a> identifies an anchor. Anchors can be used for
other uses besides just hyperlinks. <a href=""> </a> identifies a
link. If you use a { } to style all links, you may accidentally
capture other uses of the anchor tag. However, a:link { } will
properly style JUST the hyperlink usage of the anchor tag.

-Sam

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to