Created
January 30, 2013 03:34
-
-
Save agentmilindu/4670378 to your computer and use it in GitHub Desktop.
Given the limitations of Chrome, Safari, and IE, this method will give every browser the best favicon experience. IE will ignore the <link rel="icon"> and use the ICO favicon found in the root of the domain as '/favicon.ico'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="apple-touch-icon" href="path/to/touchicon.png"> | |
<link rel="icon" href="path/to/favicon.png"> | |
<!--[if IE]><link rel="shortcut icon" href="path/to/favicon.ico"><![endif]--> | |
<!-- or, set /favicon.ico for IE10 win --> | |
<meta name="msapplication-TileColor" content="#D83434"> | |
<meta name="msapplication-TileImage" content="path/to/tileicon.png"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From http://www.jonathantneal.com/blog/understand-the-favicon/