Set iPhone Bookmark Icon


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

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


Copy this code and paste it in your HTML
  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">

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.