By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,747 Members | 1,380 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,747 IT Pros & Developers. It's quick & easy.

Strict HTML: mimic target tag/favicon location?

P: n/a

Moon wrote:
>
Guy Macon <http://www.GuyMacon.com/schrieb:
>Go ahead an reference the favicon in your meta tags with a relative
link to your image directory. Then, to accommodate any browsers that
simply look in the root, put a copy of your favicon there as well
with nothing in your meta tags referencing it. That should handle
all cases.

Of course that covers all possibilities, I just wanted to know if
current browsers had adjusted to a more standard behaviour. After
all, relative paths rule ;)
It isn't a question of relative vs. full URL paths in your meta tags.
It is a question of following the paths (relative or full URL) in
your meta tags vs. not reading the meta tags at all and just looking
for the favicon in the root.

The standard behaviour is defined here:
[ http://www.w3.org/2005/10/howto-favicon ]
(The examples have full URLs but of course relative URLs
are fine as well.)

Alas, the status of that Document is "Draft in development;
may change radically at any time."

Favicons are small, and it is likely that you already have a
robots.txt file in the root, so one more file isn't that
difficult to deal with. My recommendation is to use both of
the methods described in [ http://www.w3.org/2005/10/howto-favicon ].
Or, to put it another way, go ahead an reference the favicon in
your meta tags with a relative link to your image directory.
Then, to accommodate any browsers that simply look in the root,
put a copy of your favicon there as well with nothing in your
meta tags referencing it.
For those of us who are standards geeks, here are some references:
http://www.w3.org/2001/tag/issues.html#siteData-36
http://lists.w3.org/Archives/Public/...g/2003Feb/0093
http://www.w3.org/2003/02/24-tag-summary (Go to section 2.1)
http://www.w3.org/2005/02/22-tagmem-minutes#item11
http://www.w3.org/2001/tag/2005/12/1...minutes#item08
http://www.w3.org/2006/05/02-tagmem-minutes#item02
http://www.w3.org/2007/01/09-tagmem-minutes#item05
http://lists.w3.org/Archives/Public/...3Feb/0297.html
http://lists.w3.org/Archives/Public/...6Apr/0041.html
http://lists.w3.org/Archives/Public/...6Nov/0106.html
http://lists.w3.org/Archives/Public/...6Apr/0245.html (Go to "Known locations don't work")
http://lists.w3.org/Archives/Public/...6Apr/0246.html
http://www.sitemaps.org/
http://www.w3.org/2005/10/howto-favicon


--
Guy Macon <http://www.GuyMacon.com/Guy Macon <http://www.GuyMacon.com/>
Guy Macon <http://www.GuyMacon.com/Guy Macon <http://www.GuyMacon.com/>
Guy Macon <http://www.GuyMacon.com/Guy Macon <http://www.GuyMacon.com/>
Guy Macon <http://www.GuyMacon.com/Guy Macon <http://www.GuyMacon.com/>
Oct 5 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.