html5 - Why is .ico preferred over .png for favicons? -
i noticed inadvertently saved favicon
png.
, nothing bad happened.
what gained saving .ico
. way done ( i've looked @ many favicon links in other web-apps ), i'm trying understand @ deeper level.
i'm saving @ 32px 32px. here boiler plate.
<link id='file_icon' rel='icon' href = 'foo/foo.png'>
compared to:
<link id='file_icon' rel='icon' href = 'foo/foo.ico'>
mainly because .gif , .png files don't work favicons in internet explorer.
also, .ico format allows store customized versions @ different resolutions, i.e. 16x16, 32x32, 64x64 pixels, , various color depths (16, 24 or 32 bits), insuring best possible available icon, regardless of size or color depth available in browser.
http://www.photoshopsupport.com/tutorials/jennifer/favicon.html
Comments
Post a Comment