Created
September 20, 2014 10:46
-
-
Save palimadra/ff35b7baa719c63d2871 to your computer and use it in GitHub Desktop.
favicon code as per HTML5 guidelines
This file contains hidden or 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
<!-- Favicon code based on HTML5 guidelines. The answer is taken from a stackoverflow question and answer on --> | |
<!-- For IE 9 and below. ICO should be 32x32 pixels in size --> | |
<!--[if IE]><link rel="shortcut icon" href="path/to/favicon.ico"><![endif]--> | |
<!-- IE 10+ "Metro" Tiles - 144x144 pixels in size --> | |
<meta name="msapplication-TileColor" content="#D83434"> | |
<meta name="msapplication-TileImage" content="path/to/tileicon.png"> | |
<!-- Touch Icons - iOS and Android 2.1+ 152x152 pixels in size. --> | |
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png"> | |
<!-- Firefox, Chrome, Safari, IE 11+ and Opera. 96x96 pixels in size. --> | |
<link rel="icon" href="path/to/favicon.png"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment