473,665 Members | 2,774 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Strict HTML: mimic target tag/favicon location?


Moon wrote:
>
Guy Macon <http://www.GuyMacon.co m/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.co m/Guy Macon <http://www.GuyMacon.co m/>
Guy Macon <http://www.GuyMacon.co m/Guy Macon <http://www.GuyMacon.co m/>
Guy Macon <http://www.GuyMacon.co m/Guy Macon <http://www.GuyMacon.co m/>
Guy Macon <http://www.GuyMacon.co m/Guy Macon <http://www.GuyMacon.co m/>
Oct 5 '08 #1
0 2785

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

Similar topics

2
5760
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 javascript, but mostly CSS class & id elements. Mozilla & Netscape work fine handling the toolbar submenus & contents, but IE6 misbehaves on several areas. On loading the page, the target div (id='content') will not display. When a menu item is...
19
11184
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 HREF="http://www.targetedomain.com/" TARGET="_top">...</A> Arty
8
10894
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
5021
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 in the index.htm (top-frame) enough. I'm asking this question because I had a reference in my top-frame only, wich seemed to work OK (the favicon showd in the adress-bar in all frames), but all of a sudden the favicon won't show anymore in the
28
8830
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
2421
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 top of the screen doesn't stay flush with the top of the screen. I've tried changing the alignment, but have had no luck. I'm not using a stylesheet and am wondering if maybe that's the problem. Also, below the head, I have another table that...
19
678
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 unaware of
92
5127
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" "http://www.w3.org/TR/html4/strict.dtd"> Some hyperlinks need to open to a new window, so I used the (wrong) target="" attribute.
0
8438
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8348
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8779
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8636
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7376
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6187
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5660
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4356
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1761
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.