iOS and Android Touch Icon Rules


/ Published in: HTML
Save to your folder(s)

HTML Snippet for apple-touch-icon for all of the different iOS devices, and Android 2.0 supported Icon.


Copy this code and paste it in your HTML
  1. <!-- For iPhone 4 with high-resolution Retina display: -->
  2. <link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114x114-precomposed.png">
  3. <!-- For first-generation iPad: -->
  4. <link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72x72-precomposed.png">
  5. <!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
  6. <link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png">

URL: http://mathiasbynens.be/notes/touch-icons

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.