agentmilindu
1/30/2013 - 3:34 AM

Given the limitations of Chrome, Safari, and IE, this method will give every browser the best favicon experience. IE will ignore the <link r

Given the limitations of Chrome, Safari, and IE, this method will give every browser the best favicon experience. IE will ignore the and use the ICO favicon found in the root of the domain as '/favicon.ico'

<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">