Skip to content

Instantly share code, notes, and snippets.

@bcherny
Created December 2, 2013 01:24
Show Gist options
  • Save bcherny/7743482 to your computer and use it in GitHub Desktop.
Save bcherny/7743482 to your computer and use it in GitHub Desktop.
100% cross browser favicon declaration
<!--
favicons (see http://www.jonathantneal.com/blog/understand-the-favicon)
---
icon format dimensions documentation
---- ------ ---------- -------------
apple-touch-icon PNG 152x152 https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html#//apple_ref/doc/uid/TP40006556-CH27-SW1
icon PNG 96x96
shortcut icon ICO 32x32
msapplication-TileImage PNG 144x144
-->
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-152x152-precomposed.png">
<link rel="icon" href="favicon.png">
<!--[if IE]><link rel="shortcut icon" href="favicon.ico"><![endif]-->
<meta name="msapplication-TileColor" content="#eee">
<meta name="msapplication-TileImage" content="tileicon.png">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment