Posted By

ajarkovsky on 12/31/14


Tagged

apple screen title icon app bookmark meta iphone home ios


Versions (?)

Set iPhone Bookmark Icon


 / Published in: HTML
 

URL: http://css-tricks.com/snippets/html/set-iphone-bookmark-icon/

Place this in your section, and set the href attribute to an image to a 57px x 57px PNG file.

  1. <!-- Place this in your <head> section -->
  2.  
  3. <link rel="apple-touch-icon" href="iphone-icon.png"/>
  4.  
  5.  
  6.  
  7. <!-- To prevent the iPhone from adding it's own gloss: -->
  8.  
  9. <link rel="apple-touch-icon-precomposed" href="icon" />
  10.  
  11.  
  12.  
  13. <!-- App title -->
  14.  
  15. <meta name="apple-mobile-web-app-title" content="App Title">

Report this snippet  

You need to login to post a comment.