Click here to Skip to main content
15,880,392 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a web page and a 'favicon.ico' in the same directory.

I am using this code to point to the icon.
HTML
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>


All things being equal I should have the favicon showing in the tab, and yet it isn't.

I have cleared the cache and restarted the browser, yet still it is not showing.

Anthing obvious that I am missing?
Posted

Have you tried putting the full URL in the href ?
 
Share this answer
 
Which browser? IE? check out the table(s) in below page.

Check this wiki page http://en.wikipedia.org/wiki/Favicon[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900