When I try to validate my page using the W3C validation service, I’m getting this error:
Error Line 13, Column 11: there is no attribute "REL"
<LINK REL="SHORTCUT ICON" HREF="favicon.ico" />
Why does this happen?
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.
This is the code I’m using on my site:
It works and is valid according to http://validator.w3.org/.
I think the main problem with your code is that you’re using uppercase letters. Use lowercase letters instead.
Since your favicon probably is used on many pages, I also suggest you use the full adress, like in the code above, so that all files on your site can find the favicon no matter what folder they are in.