Icons for websites with an <img> tag
Posted
by Paul Tarjan
on Stack Overflow
See other posts from Stack Overflow
or by Paul Tarjan
Published on 2010-03-30T04:02:26Z
Indexed on
2010/03/30
4:13 UTC
Read the original article
Hit count: 330
What is the best way to link to the icons of websites? Meaning, given a hostname, what src should I put in an <img
> tag to link to the 16x16 icon?
I was just doing http://<hostname>/favicon.ico
. It seems some .ico files aren't liked by different browsers. Chrome seems to like them all, but Safari, FF and IE all have problems with various icons.
Example page: http://paultarjan.com
© Stack Overflow or respective owner