471,853 Members | 1,711 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,853 software developers and data experts.

Strict HTML: mimic target tag/favicon location?


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
0 2686

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

19 posts views Thread by Arthur Connor | last post: by
7 posts views Thread by Bart | last post: by
28 posts views Thread by Jim Carlock | last post: by
beacon
2 posts views Thread by beacon | last post: by
92 posts views Thread by Erwin Moller | last post: by
reply views Thread by YellowAndGreen | last post: by
aboka
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.