473,233 Members | 3,513 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,233 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 2756

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Brian Idzik | last post by:
I've successfully setup a xhtml 1.0 strict page with Mozilla & Netscape to display links in a toolbar into an internal <div id='content'> within the same document. The toolbar uses some...
19
by: Arthur Connor | last post by:
Currently I specified a TARGET attribute inside an <A> tag which is not allowed under strict XHTML. How do I change the line to meet the requirements of strict HTML? <A...
8
by: pocm | last post by:
Hi, What's the property/value I need to set in css for A to mimic the results of <a href="..." target="_new">...</a>? Cheers, Paulo Matos
7
by: Bart | last post by:
Hi there, If I use frames, should a reference to the favicon.ico (like: <link rel="shortcut icon" href="pictures/favicon.ico" type="image/x-icon">) be placed on _every page_, or is one reference...
28
by: Jim Carlock | last post by:
For Strict DOCTYPEs, what's the recommended way to get an anchor to open inside a new browser? Thanks. Jim Carlock Post replies to the group.
2
beacon
by: beacon | last post by:
I'm having trouble with a personal web page that I'm designing for work. I'm not well versed in HTML and could use some assistance. Currently, when I open the browser, the table in the head at the...
19
by: Moon | last post by:
Bergamot wrote in <6i534eFolqk5U1@mid.individual.net>: Done! http://moon.descentforum.net/creep/ with 2 issues though: I liked the funtionality of target="_blank", so people that are...
92
by: Erwin Moller | last post by:
Hi group, I encoutered page validation error, but I don't know a way around. The page has the following doctype: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.