|02-20-2015, 05:54 PM||#1|
Join Date: Dec 2014
Why is my icon for browser tab not showing up?
Not sure if this is the right forum for this question but here goes.
Hi, I want to make a favicon for my web page. I found a sample but it's not working for me. Can someone please help me get it to work. On the index page of the web site I put this in the <head> of the page.
<link rel="icon" href="http://mywebsiteurl/images/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="http://mywebsiteurl/images/favicon.ico" type="image/ico" />
Can I put this on specific pages that I want to display the favicon or does it have to be somewhere at the root of the site?
If you can think of any solution I would really appreciate it. Thanks
|03-10-2015, 04:50 AM||#2|
Join Date: Dec 2010
those are the allowed image IANA MIME types.
mine work, but I do not specify a MIME type. the MIME type should probably be image/vnd.microsoft.icon since it is a standard microsoft icon (.ico) file format.
for one thing, in the case of IE if it makes any difference at all, you end up with 2 icon files in the case of the condition of IE being true (no else).
you should also know that IE conditional comments are no longer supported, as of IE10.
improperly<strong>nested<em>elements</strong>cause</em> browser confusion (I believe the term is 'tag soup')!
Last edited by jmichae3; 03-10-2015 at 04:56 AM..