, a code gallery for creating, saving and sharing all kinds of code snippets.

Apple Icons and Favicon — HTML

Posted On: Friday, April 3, 2015 at 1:38 AM

Use the following the code to add apple icons and a favicon to your website.

<!--Place the following code in the <head> section of your webpage-->
<link rel="shortcut icon" href="favicon.ico">
<link rel="apple-touch-icon-precomposed" href="apple-touch-iphone.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-ipad.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-iphone4.png" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-ipad-retina.png" />

You need to be logged in to comment! x


Joined on Saturday, May 3, 2014
Contributed 29 Snippets

Get Social and Share