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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -