Mathias Bynens

Everything you always wanted to know about touch icons

Published · tagged with HTML, iOS, performance

“Touch icons” are the favicons of mobile devices and tablets. Adding them to your web page is easy, and I’m sure you already know how this works using HTML:

<!-- In its simplest form: -->
<link rel="apple-touch-icon" href="apple-touch-icon.png">

It’s a shame Apple didn’t just implement the standard <link rel=icon> and chose to come up with a more verbose proprietary link relation instead. Chrome v31+ for Android does support this syntax, though! Use it as follows:

<link rel="icon" sizes="196x196" href="apple-touch-icon.png">

If no such HTML is found, Chrome for Android falls back to the Apple touch icons instead. Update: As of Chrome 30+, this is no longer true: apple-touch-icon-* is no longer fetched automatically, since the 404 pages that are usually returned were consuming 3-4% of all mobile bandwidth usage. For the time being it is still downloaded when the appropriate <link> HTML is present, though.

Apple iOS has supported touch icons since iOS 1.1.3. What’s weird is that Android 2.1+ also has apple-touch-icon support (with a few quirks).

For web pages that don’t specify a custom touch icon, a thumbnail screenshot of the page is used instead. Android has a default icon, and some systems fall back to the favicon if it’s available.

Fancy effects

iOS automatically adds some visual effects to your icon so that it coordinates with the built-in icons on the Home screen (as it does with application icons). Specifically, iOS adds:

  • Rounded corners
  • Drop shadow
  • Reflective shine

As of iOS 2.0, you can prevent the addition of these effects by using the precomposed keyword:

<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png">

Since the rel attribute accepts a space-separated list of values in HTML, theoretically it should be possible to fall back to the regular icon with added effects for iOS 1 without requiring an extra <link> element:

<link rel="apple-touch-icon-precomposed apple-touch-icon" href="apple-touch-icon-precomposed.png">

In practice, however, it doesn’t work that way. iOS 4.2 seems to ignore the entire declaration if you’re using the space-separated value technique.

I’d recommend to always use precomposed icons. It gives you full control over your icon, and it’s the only kind of icon Android 2.1 supports. As of iOS 7, no special effects are applied to touch icons anymore, so if you only care about iOS 7 and up you don’t have to use precomposed anymore.

Different icon sizes

The Icon and Image Sizes section in the iOS HIG states that you should create the following icons:

  • one that measures 76 × 76 pixels for iPad and iPad Mini models with a 1× display;
  • one that measures 120 × 120 pixels for iPhone 4s, iPhone 5, iPhone 6 (which have a 2× display);
  • one that measures 152 × 152 pixels for iPad and iPad Mini models with a 2× display;
  • one that measures 180 × 180 pixels for iPhone 6 Plus (which has a 3× display).

Update (June 2013): As of iOS 7, the recommended touch icon size for Retina-display iPhones went up from 114 × 114 pixels to 120 × 120 pixels. The icon size for Retina-display iPads went up from 144 × 144 pixels to 152 × 152 pixels. This post has been updated to reflect that.

Update (September 2014): This post has been updated once again now that iOS 8 and the iPhone 6 Plus have been released.

It’s perfectly possible to just create one high-resolution icon and use that for all devices. In fact, this is how Apple does it. Devices with smaller screens or lower display resolutions automatically resize the icon. The downside is that these devices load the large high-quality image, while a much smaller file would have worked just as well. This wastes bandwidth and affects performance negatively for the end user whenever the site is added to the home screen.

Luckily, as of iOS 4.2 it’s possible to specify multiple icons for different device resolutions by using the sizes attribute:

<!-- For non-Retina (@1× display) iPhone, iPod Touch, and Android 2.1+ devices: -->
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png"><!-- 57×57px -->
<!-- For the iPad mini and the first- and second-generation iPad (@1× display) on iOS ≤ 6: -->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72x72-precomposed.png">
<!-- For the iPad mini and the first- and second-generation iPad (@1× display) on iOS ≥ 7: -->
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="apple-touch-icon-76x76-precomposed.png">
<!-- For iPhone with @2× display running iOS ≤ 6: -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114x114-precomposed.png">
<!-- For iPhone with @2× display running iOS ≥ 7: -->
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="apple-touch-icon-120x120-precomposed.png">
<!-- For iPad with @2× display running iOS ≤ 6: -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144x144-precomposed.png">
<!-- For iPad with @2× display running iOS ≥ 7: -->
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="apple-touch-icon-152x152-precomposed.png">
<!-- For iPhone 6 Plus with @3× display: -->
<link rel="apple-touch-icon-precomposed" sizes="180x180" href="apple-touch-icon-180x180-precomposed.png">
<!-- For Chrome for Android: -->
<link rel="icon" sizes="192x192" href="touch-icon-192x192.png">

A few simple rules apply here:

  • If there is no icon that matches the recommended size for the device, the smallest icon larger than the recommended size is used.
  • If there are no icons larger than the recommended size, the largest icon is used.
  • If multiple icons are suitable, the icon that has the precomposed keyword is used.

But it gets more complicated. Pre-4.2 versions of iOS simply ignore the sizes attribute, so the above code snippet would be interpreted as:

<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png"><!-- 57×57px -->
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-72x72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-76x76-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-114x114-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-120x120-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-144x144-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-152x152-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-180x180-precomposed.png">

Only the last value in the document will be used on those systems. In this case, that’s the largest icon. Depending on how you look at it, it might be better to reverse the order of icons:

<!-- For Chrome for Android: -->
<link rel="icon" sizes="192x192" href="touch-icon-192x192.png">
<!-- For iPhone 6 Plus with @3× display: -->
<link rel="apple-touch-icon-precomposed" sizes="180x180" href="apple-touch-icon-180x180-precomposed.png">
<!-- For iPad with @2× display running iOS ≥ 7: -->
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="apple-touch-icon-152x152-precomposed.png">
<!-- For iPad with @2× display running iOS ≤ 6: -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144x144-precomposed.png">
<!-- For iPhone with @2× display running iOS ≥ 7: -->
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="apple-touch-icon-120x120-precomposed.png">
<!-- For iPhone with @2× display running iOS ≤ 6: -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114x114-precomposed.png">
<!-- For the iPad mini and the first- and second-generation iPad (@1× display) on iOS ≥ 7: -->
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="apple-touch-icon-76x76-precomposed.png">
<!-- For the iPad mini and the first- and second-generation iPad (@1× display) on iOS ≤ 6: -->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72x72-precomposed.png">
<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png"><!-- 57×57px -->

This way, older iOS versions download the smallest icon instead of the largest one. So, instead of forcing the largest icon to all devices unless they support the sizes attribute (iOS 4.2+), we now serve the smallest icon unless @sizes is supported. In other words, we’re now using progressive enhancement instead of graceful degradation :)

When in doubt, always use this snippet. With support for nearly all iOS versions and devices, and as many different Android versions as possible, it’s the most robust way to add touch icons to your site.

I’ve had several people test this on a Nexus One running Android 2.3 (Gingerbread), and it seems @sizes is not supported there either. However, it behaves differently than old iOS versions: instead of using the last <link> element’s @href value, it will use that of the first <link> element with rel="apple-touch-icon" or rel="apple-touch-icon-precomposed". In the case of the above code snippet, that’s the largest icon available.

Update (March 2013): I crowdsourced some more tests on Android devices. Using the suggested snippet, Android 4.1.x and 4.2.x on Galaxy Nexus both get the 57×57px icon as long as the default Android browser is used to add the bookmark. Bookmarking from within Chrome causes the touch icons to be ignored. This is fixed in Chrome 27. The bug is also present on Samsung I9100 Galaxy S II devices running Android 4.0.x.

Update (July 2013): As of this commit, Chrome for Android no longer requests apple-touch-icon(-precomposed).png by default (i.e., if such an icon isn’t referred to from the HTML source).

Look ma, no HTML!

If no icons are specified in the HTML, iOS Safari will search the website’s root directory for icons with the apple-touch-icon or apple-touch-icon-precomposed prefix. For example, if the appropriate icon size for the device is 57 × 57 pixels, iOS searches for filenames in the following order:

  1. apple-touch-icon-57x57-precomposed.png
  2. apple-touch-icon-57x57.png
  3. apple-touch-icon-precomposed.png
  4. apple-touch-icon.png

That’s right — for iOS, it’s not necessary to use HTML to add touch icons to your site, even if you want to use multiple resolution-specific icons. Say adiós to the boatload of proprietary <link rel="apple-touch-icon"> elements on every single HTML page. Just create different versions of the icon, use the correct file names and place them in the root. (favicon.ico, anyone?)

So, what do we need?

  • apple-touch-icon-57x57-precomposed.png or apple-touch-icon-57x57.png for non-Retina iPhone and iPod Touch (@1× display);
  • apple-touch-icon-72x72-precomposed.png or apple-touch-icon-72x72.png for the iPad mini and the first- and second-generation iPad (@1× display) on iOS ≤ 6;
  • apple-touch-icon-76x76-precomposed.png or apple-touch-icon-76x76.png for the iPad mini and the first- and second-generation iPad (@1× display) on iOS ≥ 7;
  • apple-touch-icon-114x114-precomposed.png or apple-touch-icon-114x114.png for iPhone 4+ (with @2× display) on iOS ≤ 6;
  • apple-touch-icon-120x120-precomposed.png or apple-touch-icon-120x120.png for iPhone 4+ (with @2× display) on iOS ≥ 7;
  • apple-touch-icon-144x144-precomposed.png or apple-touch-icon-144x144.png for iPad 3+ (with @2× display);
  • apple-touch-icon-152x152-precomposed.png or apple-touch-icon-152x152.png for iPad 3+ (with @2× display);
  • apple-touch-icon-180x180-precomposed.png or apple-touch-icon-180x180.png for iPhone 6 Plus (with @3× display);
  • touch-icon-192x192.png for Chrome for Android;
  • apple-touch-icon-precomposed.png and apple-touch-icon.png as a fallback for everything else (possibly including non-Apple devices).

It’s a good idea to include both apple-touch-icon.png and apple-touch-icon-precomposed.png for maximum compatibility: iOS 1 and BlackBerry OS6 don’t support precomposed icons. (Note that Android 2.1 only supports precomposed icons.) You could use rewrite rules to avoid having to duplicate the file.

Sadly, the no-HTML approach doesn’t work on the native Android browser (tested in 2.3 Gingerbread, 3 Honeycomb, 4.1 Jelly Bean), although I’ve had reports saying it does work in and 4.2 Jelly Bean’s default browser. I haven’t been able to test BlackBerry OS6 yet. If you want, you can test this technique on my website. Save a bookmark to this page to your home screen, and see if you get a custom touch icon or not. Please let me know what you find out!

Summary

So, which technique to use? It all depends, really.

  • If Android support is a must, you’ll have to use HTML, and I’d recommend using the last code snippet under the “Different icon sizes” section.
  • If iOS is all you care about, I strongly suggest using the no-HTML approach.
  • If you’re lazy and don’t really care about Android, legacy iOS versions, or performance, I suppose you could just use a single 180×180px icon, name it apple-touch-icon-precomposed.png and place it in the root of your website.

About me

Hi there! I’m Mathias. I work on Chrome at Google. HTML, CSS, JavaScript, Unicode, performance, and security get me excited. Follow me on Twitter, Bluesky, and GitHub.

Comments

Alex Gibson wrote on :

Nice write up — one other platform to add to the equation: BlackBerry (OS6) also supports apple-touch-icon (although it appears not to support precomposed) More info here: Also, I believe Firefox Mobile supports touch icons too (it displays them more like a favicon, in the top left of the browser window).

wrote on :

I should probably add that I researched the use of media queries to serve different touch icons based on the device’s screen resolution. The code looks like this: Based on [my tests](/demo/touch-icon-media-queries), this doesn’t work correctly. The iOS devices I tested on — iPad, iPhone 3G S and iPhone 4 — were all running iOS 4.2, and they all just used the first touch icon referenced in the HTML. The media queries didn’t seem to matter; the order of `` elements in the source did. Really weird. **Update:** Looks like this has finally been fixed in iOS 5. It also works [for startup images](http://miniapps.co.uk/blog/post/ios-startup-images-using-css-media-queries/) now: ``` ```

Björn wrote on :

Thanks for the great article. In my project I have been using JavaScript and user agent detection (ugh!), to build the `link rel="apple-touch-icon"` dynamically. I will rip it out and replace it with this.

Ric wrote on :

Looks like a bit of a messy system to me, I guess scanning the root is okay. But if we add these link tags, the IE9 meta tags etc etc we'll soon have a 1000 line head block!

Kroc Camen wrote on :

Using `rel="apple-touch-icon apple-touch-icon-precomposed"` (or vice-versa) does not work in iOS 4.2 (and likely before), it ignores the whole declaration, so you must put composed and precomposed on separate `LINK`s.

DanielGoransson wrote on :

Opera 11.10 supports both apple-touch-icon and precomposed for its Speed-Dial feature. Minimum of 114×114px, else it’s ignored. Maximum of 260×195px else it will be resized to max. If more than one icon is available, Opera uses the largest; if multiple icons with the same size are available, Opera will use the first one in the HTML.

David wrote on :

Great article. One thing I’m trying to find is if it’s possible to change the URL associated with the icon? For instance, if an icon is added from my homepage can I control what page the icon opens?

wrote on :

[**David:**](#comment-10) No, that’s not possible. It will always bookmark the current page. I can imagine the opposite would be confusing ;)

Steve wrote on :

I got nothing on my Nexus S running 2.3.4... But I'm not sure I set the link up right. I might have another play later.

Anselm H. wrote on :

Hi, what about behavior of devices if these icons are in root directory (and don't need to be linked)? Is it the same? Or do they choose the right then? Thanks a lot for answering… -A.

wrote on :

[**Anselm H.:**](#comment-13) I don’t think you read the “Look ma, no HTML!” section of the article. All your questions are answered there.

wrote on :

[**Zev:**](#comment-17) `apple-touch-icon` never was a registered `rel` value; it was never really valid. The only thing that changed is the validator, which now explicitly marks invalid link relations as validation errors. [The same goes for `shortcut`](/notes/rel-shortcut-icon); however, that one quickly was registered after the recent [validator.nu](http://validator.nu/) update. Anyhow, I think we can all agree that it sucks having to use invalid markup just to get touch icons to work on most devices. I’ll repeat what I wrote in the article: > (It’s a shame Apple didn’t just implement [the standard ``](https://html.spec.whatwg.org/multipage/links.html#rel-icon) and chose to come up with a more verbose proprietary link relation instead.)

Zev Goldberg wrote on :

Arrgh. I see that now. Of course, I'm not even an Apple person, and I don't wish them to write the spec with their non-semantic name all over it. But I am a firm believer in the spec being written to follow the cowpaths. If they (and also Android) have the browsers to support it, shouldn't we push to have `apple-touch-icon` registered as well?

wrote on :

[**Zev:**](#comment-19) > If they (and also Android) have the browsers to support it, shouldn't we push to have apple-touch-icon registered as well? It seems weird to standardize anything that has a vendor name in it (at least to me). But then again, `shortcut` got registered as well, so why not. I’ve [registered `rel=apple-touch-icon`](http://microformats.org/wiki/existing-rel-values#HTML5_link_type_extensions) now.

Henri Sivonen wrote on :

[**Mathias:**](#comment-20) Why only `apple-touch-icon` why not `apple-touch-icon-precomposed`, too? I don’t have an iOS device here, so I can’t tell if it actually works as a `rel` value or if it only works as a magic file name. Apple’s docs kinda suggest it works as both. (Why did they make file names magic anyway?)

wrote on :

[**Henri:**](#comment-21) In my excitement I had simply forgotten to register `apple-touch-icon-precomposed` as well. Fixed now. Thanks for the reminder!

George wrote on :

I started seeing queries in my server logs for these PNG files even though I don’t have them on my system, nor do I have any links to them in any of my HTML files. LOL. So I added a soft link for `apple-touch-icon.png` to some 50 MB file on my system. Anythying that does a `GET` on a web server without first finding that filename in a parent HTML file deserves whatever it gets.

Ajay wrote on :

Is there any way to define custom text for the Home Screen icon? At the moment, it uses the page title and truncates it. My page title has a bit of descriptive text in it too for SEO purposes, but i'd like that to be removed for the Home icon. I cant find any answers that say this is possible.. yet..

Luke wrote on :

Hi, great post. Is it possible to have a different web page title for Add to Home Screen, so it’s shorter? Without using some JavaScript to check. Thanks. On browsers I’d like the proper webpage title, and a shorter version if they add to home screen on iOS device.

Brian French wrote on :

I tested your no-HTML approach in Android 3.2.1: Home screen bookmark to this page is a custom touch icon.

David Calhoun wrote on :

Just a heads up — it looks like touch icons in a password-protected directory aren’t accessible (tested on iOS5). This make sense, as the icons are requested by the system, not the browser (where a user may have typed in a user/pass).

Kristen Grote wrote on :

Hey Mathias, Great writeup! Just thought I should let you know that I saved this page on my HTC Thunderbolt running Android 2.2.1 and I only got Android’s default bookmark icon. Before reading this article, I was messing around on another site of mine, and I placed my `apple-touch-icon.png` file at the root, and removed the link to it from the site’s ` `. This caused the site icon to appear _inside_ Android’s default bookmark icon. Whether it was the favicon or the `apple-touch-icon` being used, I don’t know. I’ll do some further testing if I have time and let you know.

Harri Hälikkä wrote on :

Ah, what a great mess this relatively simple thing is. Thanks for the excellent writeup! One additional note: the default browser of the recently announced MeeGo-based Nokia N9 (and N950) device is able to add sites to application grid as well, but doesn’t support the `-precomposed` version. So, `apple-touch-icon.png` is needed to make the site play nicely together with this device. the icon can be just placed to the root of the site, no need to add a link to it in the ` `. And to confirm, yes, this current page works well with N9, the icon is shown as it should be. Apparently even sites such as [mobile.twitter.com](https://mobile.twitter.com/) or [touch.linkedin.com](http://touch.linkedin.com/) can’t get this right — it’s a bit frustrating.

Mike Cowles wrote on :

Hey, I'm running into a brick wall with this. I have a HTC EVO and put an icon at in the root and in the folder of the mobile version I’m working on at . I made it the lazy 114px size and have tried bookmarking the site and always get the default red ribbon with the star, icon. Can you offer any help? Thanks very much! =] Mike. <><

betovarg wrote on :

By far, the best touch icon tutorial I've found. Saved my life with the reverse order, thats a must tweet tip. thanx!

Kevin wrote on :

[**George:**](#comment-23) That’s an awesome idea. If my personal site kept on getting those requests I’d totally do it too. Sadly I don’t think it would go over well if I did that on a customer’s site.

Red Feet wrote on :

[**Ajay:**](#comment-26) Yes, a shorter title, different from your descriptive/long SEO title is possible: ``` Long SEO title ``` [**Luke:**](#comment-27) No, without JavaScript it’s not possible, but how many iOS users disable JavaScript?

Dries wrote on :

[**Mike:**](#comment-37) I’m having the same issue on my website when testing with my HTC Sensation. The fact that it works for Mathias makes me think that HTC Sense ignores `apple-touch_icon.png` while stock Android does recognize it.

iDGS wrote on :

[**Red Feet:**](#comment-41) Oo! Thank you! That’s *exactly* what I was looking for! Namely, a way to control the name given to the Apple Touch Icon that gets saved to the iOS desktop, while keeping my longer, carefully crafted title for SEO! Yes, I still wish I could set the ATI name directly, and thus keep and show my homepage title of choice. However, in the meantime, this is a compromise I can live with. @Mathias: Maybe put a mention of this title-trickery gem up in the main text? I confess I was about to skip the comments and continue searching elsewhere. Glad I kept reading!

Sonya wrote on :

[**Ajay:**](#comment-26) I, too, wanted to have a different page title assigned just for instances of homescreening in iOS and I found the solution online — works perfectly:

Sascha Hendel wrote on :

A note about transparency: if you use PNG images with alpha channel (transparency) iOS will make them opaque and use a **black** background instead. This happens even if you use the precomposed option! Android supports (as far as I tested) transparency on precomposed icons (maybe on normal icons, too). You can create really nice icons with transparency on Android, because the OS does not insist on this boring rounded edge button style. Right now I’m trying to set up a line of `` tags with different parameters, to provide iOS with an opaque version (because I don’t want black background) and a transparent version for Android… [**Sonya:**](#comment-46) A note about changing the page title with JavaScript — be careful with manipulating the page title this way. Google and other search engines could interpret this as bad SEO.

James wrote on :

No matter what I've tried I cannot get these icons to show on my HTC Sensation. I always get the red ribbon bookmark icon. Has anyone been able to get past this on this phone?

iDGS wrote on :

[**Sonya:**](#comment-46) Ooo! Lovely script refinement! And that Unicode-escape demo is a nice touch. Many thanks! (For a few additional usage notes, see comments "over yonder." )

rstuppi wrote on :

I just downloaded HTML5 Boilerplate, unzipped it and copied it up to my website without any modifications, and favicon did not show. I tried it in IE9, FF, Opera, and Safari. Nothing. Granted, I am in a shared environment at Network Solutions and maybe they are doing some caching but this was a brand new website. I was very disheartened after watching 2 1/2 hours of HTML5 Boilerplate videos only to find that what seems to be basic web functionality (favicon?) did not work. What am I not understanding, what am I missing?

Christian wrote on :

It’s worth pointing out that Reeder, a popular Google Reader client, takes apple-touch-icons even further: its non-Retina icons are 157×157px, so its Retina icons are 314×314; that’s the size I serve up, and it scales down fine.

Joshua wrote on :

Does anyone know how to control the title when a person adds the icon to their screen?

wrote on :

[**Joshua:**](#comment-54) The `` element is used for that. There’s no event that fires when the user adds the icon to the homescreen, so there’s no way to change it only when needed. You might be interested in [comment #41](#comment-41), though. </div> </article> <article id="comment-56" data-id="620" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/0c6a98932b868fcdb164e486fad75476?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/0c6a98932b868fcdb164e486fad75476?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Rob</span></span> wrote on <time datetime="2012-04-23T06:32" itemprop="commentTime"><a href="#comment-56" rel="bookmark" itemprop="url" title="Permanent link to comment 56 on “Everything you always wanted to know about touch icons”">23rd April 2012 at 06:32</a></time>:</p> </header> <div itemprop="commentText"> Saving this page to the home screen on Android 4.0 (on Asus Transformer TF101) produces a nice custom icon (white ‘m’ on the green squares). And unfortunately a title truncated part way through the second word. So no real need to use the `rel=` links soon (maybe now), the older Androids that use them will fade away. </div> </article> <article id="comment-57" data-id="626" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/e19d83a9f5cf6323abe9be47a7af73cd?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/e19d83a9f5cf6323abe9be47a7af73cd?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://imctobitch.com/" rel="author nofollow" itemprop="name">Guillaume</a></span> wrote on <time datetime="2012-05-10T16:13" itemprop="commentTime"><a href="#comment-57" rel="bookmark" itemprop="url" title="Permanent link to comment 57 on “Everything you always wanted to know about touch icons”">10th May 2012 at 16:13</a></time>:</p> </header> <div itemprop="commentText"> Hi @Mathias, nice post. I haven’t found all I was looking for. I added two `<link>` tags in my `<head>`: <link rel="apple-touch-startup-image" href="/images/Apple/apple-touch-startup-image.png" /> <link rel="apple-touch-icon" href="/images/Apple/apple-touch-icon.png" /> And that’s just working great client-side. But in my server log I’ve got several 404 not found errors that are very resource-consuming for me: looking for `/apple-touch-icon-72x72-precomposed.png`, `/apple-touch-icon.png`, etc… All you described in you “No HTML” section. Is there a way to avoid Apple to look for all versions if I do not want to provide them and reduce the 404 errors? Thanks a lot for your answer :) </div> </article> <article id="comment-58" data-id="698" class="mathias" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="/" rel="author" itemprop="name">Mathias</a></span> wrote on <time datetime="2012-06-17T11:24" itemprop="commentTime"><a href="#comment-58" rel="bookmark" itemprop="url" title="Permanent link to comment 58 on “Everything you always wanted to know about touch icons”">17th June 2012 at 11:24</a></time>:</p> </header> <div itemprop="commentText"> [**Ajay**](#comment-26) and [**Joshua**](#comment-54): you might be interested to hear that iOS 6 Safari will allow you to set a separate title just for the home screen, [using the following HTML](https://twitter.com/mrgan/status/214213952555581441): <meta name="apple-mobile-web-app-title" content="Short title for home screen"> </div> </article> <article id="comment-59" data-id="705" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/31a7d5026a82602361ee09ce1ed78bbb?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/31a7d5026a82602361ee09ce1ed78bbb?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://www.whatsitworth.net/" rel="author nofollow" itemprop="name">Drew</a></span> wrote on <time datetime="2012-07-28T03:29" itemprop="commentTime"><a href="#comment-59" rel="bookmark" itemprop="url" title="Permanent link to comment 59 on “Everything you always wanted to know about touch icons”">28th July 2012 at 03:29</a></time>:</p> </header> <div itemprop="commentText"> Is it possible to use a combination of the link method and WebKit implementations at the same time? It appears the wrong size image is being picked up on my Samsung Galaxy SII using the link method. You can see it here: <http://www.whatsitworth.net/> </div> </article> <article id="comment-60" data-id="706" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/3eda6fcd3204ef285fa52176c28c4d3e?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/3eda6fcd3204ef285fa52176c28c4d3e?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Jack</span></span> wrote on <time datetime="2012-07-30T03:34" itemprop="commentTime"><a href="#comment-60" rel="bookmark" itemprop="url" title="Permanent link to comment 60 on “Everything you always wanted to know about touch icons”">30th July 2012 at 03:34</a></time>:</p> </header> <div itemprop="commentText"> I am trying to create a custom icon for an imbedded web server. Think the web server may serve up the pages slightly differently than a traditional server and the pages don’t live on the server as a traditional html file. They are created on the fly when they are requested. I have spent all weekend trying to get this to work and would just give up and say it wasn’t possible except for the fact I can get it to work on an iPhone 1 (IOS 4.2.1). I can not get it to work on and iPhone 4, or iPad 1 or iPad2 (IOS 5.1 and OS 5.1.1). To get the iPhone 1 to work I had to place the apple-touch-icon.png file in the images folder (it did not work in the root or any other folder). In an attempt to get it to work on the other devices I have tried the file in every folder on the server. I also modified the file that generates the html on the fly to include in the <head> tag: <link rel="apple-touch-icon" href="apple-touch-icon-iphone.png" > <link rel="apple-touch-icon" sizes="72x72" href="apple-touch-icon-ipad.png"> <link rel"apple-touch-icon" sizes="114x114" href="apple-touch-icon-iphone4.png"> <link rel="apple-touch-icon" sizes="144x144" href="apple-touch-icon-ipad3.png"> I created the different size png files and tried them in a bunch of directories. I have also tried it with an absolute path to the .png files. I can put the code and files on a traditional server and get them to work on all devices. I cant figure out why it work on the iPhine 1 and not the other devices Is it the IOS version, screen resolution, etc. Any ideas? </div> </article> <article id="comment-61" data-id="748" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/ce459c82230855330912c3d0bc963d0d?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/ce459c82230855330912c3d0bc963d0d?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Ryan</span></span> wrote on <time datetime="2012-10-06T20:41" itemprop="commentTime"><a href="#comment-61" rel="bookmark" itemprop="url" title="Permanent link to comment 61 on “Everything you always wanted to know about touch icons”">6th October 2012 at 20:41</a></time>:</p> </header> <div itemprop="commentText"> All this SEO mythology is bunk anyway. Just optimize for humans and let Google do its job. </div> </article> <article id="comment-62" data-id="749" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/2edfdb9472373cd9bd5b06638b0f4e91?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/2edfdb9472373cd9bd5b06638b0f4e91?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">SlavD</span></span> wrote on <time datetime="2012-10-07T14:35" itemprop="commentTime"><a href="#comment-62" rel="bookmark" itemprop="url" title="Permanent link to comment 62 on “Everything you always wanted to know about touch icons”">7th October 2012 at 14:35</a></time>:</p> </header> <div itemprop="commentText"> Great post. I wish they made it more standard. I’m currently trying to set it up on my site, however I’m still getting wrong sizes and sometimes I’m getting requests to `/` root of the website even though all my pages reference `.png` images from relative path. I wonder if it is caused by someone bookmarking it on the device? Anyway thanks for the post. </div> </article> <article id="comment-63" data-id="755" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/f6a6f99f4b03fcedbcb42fbaf52406df?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/f6a6f99f4b03fcedbcb42fbaf52406df?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Mogens Beltoft</span></span> wrote on <time datetime="2012-10-19T11:30" itemprop="commentTime"><a href="#comment-63" rel="bookmark" itemprop="url" title="Permanent link to comment 63 on “Everything you always wanted to know about touch icons”">19th October 2012 at 11:30</a></time>:</p> </header> <div itemprop="commentText"> Is it possible to use data URLs to have the `apple-touch-icon` encoded as text? </div> </article> <article id="comment-64" data-id="756" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/a046f67399acec21282d784ac66cb009?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/a046f67399acec21282d784ac66cb009?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://paulrouget.com/" rel="author nofollow" itemprop="name">Paul Rouget</a></span> wrote on <time datetime="2012-10-20T16:35" itemprop="commentTime"><a href="#comment-64" rel="bookmark" itemprop="url" title="Permanent link to comment 64 on “Everything you always wanted to know about touch icons”">20th October 2012 at 16:35</a></time>:</p> </header> <div itemprop="commentText"> That’s some serious work here. Thank you for doing that. </div> </article> <article id="comment-65" data-id="758" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/607d76967b2800d4365fdbcd7c4fd1cb?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/607d76967b2800d4365fdbcd7c4fd1cb?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Chris Surtees</span></span> wrote on <time datetime="2012-10-31T21:59" itemprop="commentTime"><a href="#comment-65" rel="bookmark" itemprop="url" title="Permanent link to comment 65 on “Everything you always wanted to know about touch icons”">31st October 2012 at 21:59</a></time>:</p> </header> <div itemprop="commentText"> Is it possible to have different iOS icons for different domains? i.e. yourwebsite.com/domain1 = iOS icon 1 yourwebsite.com/domain2 = iOS icon 2 yourwebsite.com/domain3 = iOS icon 1 </div> </article> <article id="comment-66" data-id="759" class="mathias" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="/" rel="author" itemprop="name">Mathias</a></span> wrote on <time datetime="2012-11-01T12:44" itemprop="commentTime"><a href="#comment-66" rel="bookmark" itemprop="url" title="Permanent link to comment 66 on “Everything you always wanted to know about touch icons”">1st November 2012 at 12:44</a></time>:</p> </header> <div itemprop="commentText"> [**Chris:**](#comment-65) I think you mean “paths” instead of domains. Anyway, yes it’s possible to define different icons for different resources on the same host, by using the HTML snippet mentioned in this post. </div> </article> <article id="comment-67" data-id="782" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/c53518ca0d13d1c062040df772cded80?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/c53518ca0d13d1c062040df772cded80?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://www.tozzophoto.com/" rel="author nofollow" itemprop="name">Roy</a></span> wrote on <time datetime="2013-01-07T07:55" itemprop="commentTime"><a href="#comment-67" rel="bookmark" itemprop="url" title="Permanent link to comment 67 on “Everything you always wanted to know about touch icons”">7th January 2013 at 07:55</a></time>:</p> </header> <div itemprop="commentText"> This adds a good update to your post: <http://www.zen.co.uk/blog/setting-a-home-screen-icon-for-your-website-on-ios-and-android-devices/> I guess if you do not care about force-feeding a larger icon to smaller devices, this two line code version might just be all we need now in 2013. </div> </article> <article id="comment-68" data-id="789" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/902a99c2de517f53eb456ad2f378dfa8?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/902a99c2de517f53eb456ad2f378dfa8?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://nutzme5.loiseau2nuit.net/" rel="author nofollow" itemprop="name">Loiseau2nuit</a></span> wrote on <time datetime="2013-01-18T17:47" itemprop="commentTime"><a href="#comment-68" rel="bookmark" itemprop="url" title="Permanent link to comment 68 on “Everything you always wanted to know about touch icons”">18th January 2013 at 17:47</a></time>:</p> </header> <div itemprop="commentText"> Thanks a lot for that useful tip. I was wondering if it was ever possible to replace all those PNG files by a single one `.svg` which would then be called by all the declaration as well. I.e. <!-- For third-generation iPad with high-resolution Retina display: --> <link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-precomposed.svg"> <!-- For iPhone with high-resolution Retina display: --> <link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-precomposed.svg"> <!-- For first- and second-generation iPad: --> <link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-precomposed.svg"> <!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: --> <link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.svg"> I must admit that I’m still not familiar enough with all those devices (and with Raphael.js either ^^) to answer this today? Thanks again and gr33tz from one of your downstairs french neighbour ;) </div> </article> <article id="comment-69" data-id="796" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/30e7118d7ac761e082fdf9fb5a259313?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/30e7118d7ac761e082fdf9fb5a259313?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Saeid</span></span> wrote on <time datetime="2013-01-24T06:56" itemprop="commentTime"><a href="#comment-69" rel="bookmark" itemprop="url" title="Permanent link to comment 69 on “Everything you always wanted to know about touch icons”">24th January 2013 at 06:56</a></time>:</p> </header> <div itemprop="commentText"> I noticed that Apple link in your article takes us to an icon that is 129×129px. That’s not the recommended dimension, is it? How come? </div> </article> <article id="comment-70" data-id="797" class="mathias" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="/" rel="author" itemprop="name">Mathias</a></span> wrote on <time datetime="2013-01-24T08:56" itemprop="commentTime"><a href="#comment-70" rel="bookmark" itemprop="url" title="Permanent link to comment 70 on “Everything you always wanted to know about touch icons”">24th January 2013 at 08:56</a></time>:</p> </header> <div itemprop="commentText"> [**Saeid:**](#comment-69) Apple has had that 129×129px icon there since the first version of iOS that supported adding websites to your home screen. That was on the first-generation iPhone. Back then it was probably forward-thinking to offer a higher-resolution icon. I guess they never got around to updating it afterwards, or they didn’t feel the need. </div> </article> <article id="comment-71" data-id="805" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/a1e606b6c96629284ac8a7f80ed3d906?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/a1e606b6c96629284ac8a7f80ed3d906?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Paul</span></span> wrote on <time datetime="2013-02-02T20:45" itemprop="commentTime"><a href="#comment-71" rel="bookmark" itemprop="url" title="Permanent link to comment 71 on “Everything you always wanted to know about touch icons”">2nd February 2013 at 20:45</a></time>:</p> </header> <div itemprop="commentText"> Thank you/ Dank je wel/Danke/ Merci, for the informative details. It seems bonkers that once again, just like Micro$oft always does, another software organisation has broken world standards, and most people have not objected. </div> </article> <article id="comment-72" data-id="807" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/207958aa5ac1c42448070dbab3f2dd87?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/207958aa5ac1c42448070dbab3f2dd87?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Adam</span></span> wrote on <time datetime="2013-02-05T17:17" itemprop="commentTime"><a href="#comment-72" rel="bookmark" itemprop="url" title="Permanent link to comment 72 on “Everything you always wanted to know about touch icons”">5th February 2013 at 17:17</a></time>:</p> </header> <div itemprop="commentText"> Great post! Please add instructions for Windows 8/IE 10 tiles images. </div> </article> <article id="comment-73" data-id="808" class="mathias" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="/" rel="author" itemprop="name">Mathias</a></span> wrote on <time datetime="2013-02-07T15:30" itemprop="commentTime"><a href="#comment-73" rel="bookmark" itemprop="url" title="Permanent link to comment 73 on “Everything you always wanted to know about touch icons”">7th February 2013 at 15:30</a></time>:</p> </header> <div itemprop="commentText"> [**Adam:**](#comment-72) Windows 8 tile images aren’t exactly “touch icons”, in the same way touch icons aren’t [favicons](https://mathiasbynens.be/notes/rel-shortcut-icon). (It would be nice though if browser vendors could just decide on a single format!) But since you asked: you’re probably looking for [Microsoft’s Build My Pinned Site](http://www.buildmypinnedsite.com/) tool. The generated code looks something like this: ``` <meta name="application-name" content="Your website title"> <meta name="msapplication-TileColor" content="#000000"> <meta name="msapplication-TileImage" content="e9060f3d-e554-42c0-8ada-e614687fcdac.png"> ``` </div> </article> <article id="comment-74" data-id="817" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/c4e1e06fc792ee744818340a72dd5b4a?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/c4e1e06fc792ee744818340a72dd5b4a?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://michaeltunnell.com/" rel="author nofollow" itemprop="name">Michael</a></span> wrote on <time datetime="2013-03-20T10:12" itemprop="commentTime"><a href="#comment-74" rel="bookmark" itemprop="url" title="Permanent link to comment 74 on “Everything you always wanted to know about touch icons”">20th March 2013 at 10:12</a></time>:</p> </header> <div itemprop="commentText"> Android browser testing with HTC Thunderbolt on Android 4.0.4: * Dolphin = failure * Firefox = success * Chrome = failure, uses modified favicon * Default Android browser = failure </div> </article> <article id="comment-75" data-id="825" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/89bac436d9f0bb9653571efcbd441483?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/89bac436d9f0bb9653571efcbd441483?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://tom.schouteden.be/" rel="author nofollow" itemprop="name">Tom</a></span> wrote on <time datetime="2013-04-03T12:11" itemprop="commentTime"><a href="#comment-75" rel="bookmark" itemprop="url" title="Permanent link to comment 75 on “Everything you always wanted to know about touch icons”">3rd April 2013 at 12:11</a></time>:</p> </header> <div itemprop="commentText"> Just tried it with a Samsung Galaxy SIII (4.0.4) and default browser. It just shows the favicon inside the red ribbon. Tried it for this site and some other sites like apple, bbd, etc. Anything we can do about that? </div> </article> <article id="comment-76" data-id="826" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/0cdd4e88974b318dbd60379d158193b4?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/0cdd4e88974b318dbd60379d158193b4?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Joel_MMCC</span></span> wrote on <time datetime="2013-04-05T21:42" itemprop="commentTime"><a href="#comment-76" rel="bookmark" itemprop="url" title="Permanent link to comment 76 on “Everything you always wanted to know about touch icons”">5th April 2013 at 21:42</a></time>:</p> </header> <div itemprop="commentText"> On the matter of shorter _vs._ longer web page titles, it looks like the HTML spec itself allows for this already, _without_ needing anything new added to the spec, and requiring absolutely _no_ proprietary vendor metatags (_e.g._ Mathias’s `<meta name="apple-mobile-web-app-title" content="Short title for home screen">` above). It’s so simple! According to the HTML 5 spec (and I believe HTML 4 as well), the `title="…"` _attribute_ is a _global_ attribute that can be used with _any_ HTML tag! That _includes_ the `<title>` tag _itself!_ So, hypothetically, you could do _this_: ``` <title title="Long SEO-friendly overly verbose page title goes here">Short title here. ``` _Voila!_ This should even validate nicely, as-is! Now all that’s needed is for user agents (browsers and spiders) to decide what to do with that. I recommend a “smart” approach: For touch icon titles and the like, always use the shorter title that is the _inner content_ of the `` tag. For browser window titles, likewise display the inner content of the `<title>` tag if the browser window is too narrow to display the longer one in the `title="…"` _attribute_ (_e.g._ portrait orientation, manually reduced in size, _etc._). Search engines can simply use both as they see fit for their metadata and rankings. There’d also be no reason that the two couldn’t be swapped (longer title as the tag’s inner content, shorter as the `title="…"` attribute, instead of _vice versa_) and have the user agent simply react intelligently based on which is longer and which is shorter, but traditionally the `title="…"` attribute is used to provide longer descriptive text for some usually shorter or smaller element via a ToolTip (_e.g._ for `<img>`, `<a>`, `<abbr>`, `<acronym>`, _etc._ tags), so that should be the preferred usage. </div> </article> <article id="comment-77" data-id="830" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/cacf32dff9f3e4820df474c41c9a6136?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/cacf32dff9f3e4820df474c41c9a6136?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://www.tomatedesign.com/" rel="author nofollow" itemprop="name">Steven Reid</a></span> wrote on <time datetime="2013-04-26T01:13" itemprop="commentTime"><a href="#comment-77" rel="bookmark" itemprop="url" title="Permanent link to comment 77 on “Everything you always wanted to know about touch icons”">26th April 2013 at 01:13</a></time>:</p> </header> <div itemprop="commentText"> Good and revealing writeup — I was interested as `sizes` was causing my page to be invalid — I’m somewhat picky. It’s interesting to note that there’s no real advantage to having the various icon sizes other than what the user has to download and I have to ask — are we really _that_ bothered about a few KB? The difference between my largest and smallest icons is 5 KB. So I don’t think it’s fair to call resorting to one icon on the server with no HTML as being ‘lazy’; I think it’s extraordinarily practical and certainly the route I’ll be taking from now on! </div> </article> <article id="comment-78" data-id="832" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/be2030be775f00edb407fe8907d66abf?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/be2030be775f00edb407fe8907d66abf?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://jcsalomon.github.io/" rel="author nofollow" itemprop="name">Joel C. Salomon</a></span> wrote on <time datetime="2013-04-29T21:17" itemprop="commentTime"><a href="#comment-78" rel="bookmark" itemprop="url" title="Permanent link to comment 78 on “Everything you always wanted to know about touch icons”">29th April 2013 at 21:17</a></time>:</p> </header> <div itemprop="commentText"> Does anyone know whether Android or iOS care about the file name (if I’m not using the “Look ma, no HTML!” method)? _I.e._, can I have something like this <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/toy_rocket-144x144.png"> <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/toy_rocket-114x114.png"> <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/toy_rocket-72x72.png"> <link rel="apple-touch-icon-precomposed" href="/toy_rocket-57x57.png"> and expect it to produce the correct icons? </div> </article> <article id="comment-79" data-id="834" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/f4d1a99a1fa9ff05adee519133ddc298?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/f4d1a99a1fa9ff05adee519133ddc298?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">KM</span></span> wrote on <time datetime="2013-05-04T10:12" itemprop="commentTime"><a href="#comment-79" rel="bookmark" itemprop="url" title="Permanent link to comment 79 on “Everything you always wanted to know about touch icons”">4th May 2013 at 10:12</a></time>:</p> </header> <div itemprop="commentText"> Does anyone know of any site which can preview what a touch icon would look like when displayed on iOS — don’t have access to any iOS/Android device, but want to see what the icon would look like after it has the rounded corners, shadow and reflection added to it by iOS. </div> </article> <article id="comment-80" data-id="835" class="mathias" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="/" rel="author" itemprop="name">Mathias</a></span> wrote on <time datetime="2013-05-04T14:43" itemprop="commentTime"><a href="#comment-80" rel="bookmark" itemprop="url" title="Permanent link to comment 80 on “Everything you always wanted to know about touch icons”">4th May 2013 at 14:43</a></time>:</p> </header> <div itemprop="commentText"> [**KM:**](#comment-79) Try using the iOS Simulator or the [Android Emulator](http://developer.android.com/tools/help/emulator.html). </div> </article> <article id="comment-81" data-id="836" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/f4d1a99a1fa9ff05adee519133ddc298?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/f4d1a99a1fa9ff05adee519133ddc298?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">KM</span></span> wrote on <time datetime="2013-05-04T16:59" itemprop="commentTime"><a href="#comment-81" rel="bookmark" itemprop="url" title="Permanent link to comment 81 on “Everything you always wanted to know about touch icons”">4th May 2013 at 16:59</a></time>:</p> </header> <div itemprop="commentText"> [**Mathias:**](#comment-80) Thanks. Guess I’ll have to see if I can get the Android Emulator working, but that seems a lot of hoops to jump through just to look at an icon! I’m just wanted to add a simple icon to a website, as I’m getting “404 not found” errors in my log files from devices requesting these icons. Just wanted something quick and easy to be able to see what the end results would look like. I’m using a Windows system, so can’t use iOS Simulator (unless I also want to start trying to build a virtual system with a hacked version of OS X on it etc). There are a lot of sites that say they help you create these images, but none seem to offer a preview of what the results would actually look like when viewed on an iPhone etc. </div> </article> <article id="comment-82" data-id="841" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/7ce9a587756fe847198e8854eb8c8f30?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/7ce9a587756fe847198e8854eb8c8f30?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://otakjagat.com/" rel="author nofollow" itemprop="name">@troopaty</a></span> wrote on <time datetime="2013-05-22T06:12" itemprop="commentTime"><a href="#comment-82" rel="bookmark" itemprop="url" title="Permanent link to comment 82 on “Everything you always wanted to know about touch icons”">22nd May 2013 at 06:12</a></time>:</p> </header> <div itemprop="commentText"> Android browser Firefox testing with HTC Thunderbolt on Android 4.0.4: success. </div> </article> <article id="comment-83" data-id="843" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/ee1876099a2db2401f03e277dfbf277f?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/ee1876099a2db2401f03e277dfbf277f?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">JH</span></span> wrote on <time datetime="2013-05-28T21:39" itemprop="commentTime"><a href="#comment-83" rel="bookmark" itemprop="url" title="Permanent link to comment 83 on “Everything you always wanted to know about touch icons”">28th May 2013 at 21:39</a></time>:</p> </header> <div itemprop="commentText"> [**KM:**](#comment-81) Slow and choppy but shows your home screen icons for different Android builds/screens: <https://www.manymo.com/emulators>. </div> </article> <article id="comment-84" data-id="877" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/3c47e12f73a0c08e12973dfaafa4f3fd?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/3c47e12f73a0c08e12973dfaafa4f3fd?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://aeyoun.priv.no/" rel="author nofollow" itemprop="name">Daniel Aleksandersen</a></span> wrote on <time datetime="2013-08-18T00:56" itemprop="commentTime"><a href="#comment-84" rel="bookmark" itemprop="url" title="Permanent link to comment 84 on “Everything you always wanted to know about touch icons”">18th August 2013 at 00:56</a></time>:</p> </header> <div itemprop="commentText"> Why doesn’t Apple document this themselves? Is it completely unsupported? </div> </article> <article id="comment-85" data-id="878" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/102951dd4052100a3e54d730f00780e4?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/102951dd4052100a3e54d730f00780e4?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://webilicious.com.au/" rel="author nofollow" itemprop="name">Neil Robertson</a></span> wrote on <time datetime="2013-08-24T06:48" itemprop="commentTime"><a href="#comment-85" rel="bookmark" itemprop="url" title="Permanent link to comment 85 on “Everything you always wanted to know about touch icons”">24th August 2013 at 06:48</a></time>:</p> </header> <div itemprop="commentText"> According to the Apple document, the new high resolution sizes are 120×120 for iPhone and 152×152 for iPad with advice about dividing by 2 for the standard resolutions. I assume this means that 60×60, 76×76, 120×120 and 152×152 will all have to be added? Also, it looks like you are saying that `apple-touch-icon-114x114.png` has been superseded but shouldn’t this icon size still be provided for older devices that can’t be updated to iOS7 etc? Thanks for keeping up to date with this stuff as it is very hard to find anything official on the Apple website. </div> </article> <article id="comment-86" data-id="885" class="mathias" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="/" rel="author" itemprop="name">Mathias</a></span> wrote on <time datetime="2013-08-28T15:51" itemprop="commentTime"><a href="#comment-86" rel="bookmark" itemprop="url" title="Permanent link to comment 86 on “Everything you always wanted to know about touch icons”">28th August 2013 at 15:51</a></time>:</p> </header> <div itemprop="commentText"> [**Neil:**](#comment-85) Thanks for the heads up about the new 152×152px size for iPad touch icons. I’ve updated the article accordingly. As for dividing by two for the standard resolutions, you could do that, but iOS automatically downscales larger icons when needed, and IMHO things are complicated enough already with the various icon formats. You already need 57×57px, 72×72px, 120×120px, and 152×152px icons; I’d rather not add separate 60×60px and 76×76px icons to that. Also, I seriously doubt iOS 7 will be made available on non-Retina iPhones and iPads (given their age) — in that case, there’s no reason at all to have those extra icons there. </div> </article> <article id="comment-87" data-id="893" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/102951dd4052100a3e54d730f00780e4?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/102951dd4052100a3e54d730f00780e4?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://webilicious.com.au/" rel="author nofollow" itemprop="name">Neil Robertson</a></span> wrote on <time datetime="2013-09-09T15:22" itemprop="commentTime"><a href="#comment-87" rel="bookmark" itemprop="url" title="Permanent link to comment 87 on “Everything you always wanted to know about touch icons”">9th September 2013 at 15:22</a></time>:</p> </header> <div itemprop="commentText"> [**Mathias:**](#comment-86) > I’d rather not add separate 60×60px and 76×76px icons to that. Also, I seriously doubt iOS 7 will be made available on non-Retina iPhones and iPads (given their age) — in that case, there’s no reason at all to have those extra icons there. Excellent point! I'm all in favour of keeing things simple! :) </div> </article> <article id="comment-88" data-id="895" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/6f3ec7315ad0715ae2a5f89a52877218?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/6f3ec7315ad0715ae2a5f89a52877218?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://www.brucelawson.co.uk/" rel="author nofollow" itemprop="name">Bruce Lawson</a></span> wrote on <time datetime="2013-09-10T10:25" itemprop="commentTime"><a href="#comment-88" rel="bookmark" itemprop="url" title="Permanent link to comment 88 on “Everything you always wanted to know about touch icons”">10th September 2013 at 10:25</a></time>:</p> </header> <div itemprop="commentText"> Coast by Opera (our new lean-back iPad browser) prefers images at 228×228px, with the markup `<link rel="icon" sizes="228x228" href="icon.png">` in the `<head>`, but will fall back to Windows 8 tiles, Apple touch icons or favicons if the 228px square isn’t found. See <https://dev.opera.com/blog/introducing-coast-by-opera/> for more details. </div> </article> <article id="comment-89" data-id="902" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/ed9bd09e90afd13633429b5d482b1135?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/ed9bd09e90afd13633429b5d482b1135?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Alhadis</span></span> wrote on <time datetime="2013-09-21T17:40" itemprop="commentTime"><a href="#comment-89" rel="bookmark" itemprop="url" title="Permanent link to comment 89 on “Everything you always wanted to know about touch icons”">21st September 2013 at 17:40</a></time>:</p> </header> <div itemprop="commentText"> Thanks for the excellent write-up. :-) However, one question: just how much of a performance hit does serving one high-resolution icon have, exactly? At a guess, iOS should logically cache the scaled version of an icon if it exceeds the ideal dimensions for the device’s screen resolution. As for bandwidth, well, if you’re careful with image compression (using crisp-quality PNGs, thereby reducing the colour palette), it wouldn’t be too taxing. </div> </article> <article id="comment-90" data-id="905" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/26009c2d850112f9395b8552e9890c44?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/26009c2d850112f9395b8552e9890c44?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://web.nickshanks.com/" rel="author nofollow" itemprop="name">Nicholas Shanks</a></span> wrote on <time datetime="2013-10-01T09:03" itemprop="commentTime"><a href="#comment-90" rel="bookmark" itemprop="url" title="Permanent link to comment 90 on “Everything you always wanted to know about touch icons”">1st October 2013 at 09:03</a></time>:</p> </header> <div itemprop="commentText"> There are various `<DEL>` elements which are not actually incorrect, but still apply to users running iOS < 7 (I for one won’t be upgrading). You should merely add the OS constraints and new sizes, and leave the old sizes as they were. </div> </article> <article id="comment-91" data-id="914" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/c5aed972b253d5594ea50c51ec3b1ffd?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/c5aed972b253d5594ea50c51ec3b1ffd?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://calley.co/" rel="author nofollow" itemprop="name">Calley Nye</a></span> wrote on <time datetime="2013-10-22T03:51" itemprop="commentTime"><a href="#comment-91" rel="bookmark" itemprop="url" title="Permanent link to comment 91 on “Everything you always wanted to know about touch icons”">22nd October 2013 at 03:51</a></time>:</p> </header> <div itemprop="commentText"> Thanks for the amazing write up! I'm a big fan :) I have one question though. You explained the fancy effects that were added to touch icons in iOS 6, how have those effects changed in iOS 7? What does iOS 7 add to non-precomposed icons? </div> </article> <article id="comment-92" data-id="923" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/6211db5366591bff1e1a1d9087f34af1?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/6211db5366591bff1e1a1d9087f34af1?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://github.com/arathael" rel="author nofollow" itemprop="name">Ram Ram</a></span> wrote on <time datetime="2013-10-31T03:38" itemprop="commentTime"><a href="#comment-92" rel="bookmark" itemprop="url" title="Permanent link to comment 92 on “Everything you always wanted to know about touch icons”">31st October 2013 at 03:38</a></time>:</p> </header> <div itemprop="commentText"> [**Calley:**](#comment-91) It just doesn’t do anything, but rounding corners with the new design curves (not precisely _rounded_). See [Safari Web Content Guide](https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html) states: >_Note: Safari on iOS 7 doesn’t add effects to icons. Older versions of Safari will not add effects for icon files named with the -precomposed.png suffix. See “App Store Icons” in the iTunes Connect Developer Guide for details._ And [this blog post](http://blog.manbolo.com/2013/08/15/new-metrics-for-ios-7-app-icons) for the corners explanation. </div> </article> <article id="comment-93" data-id="931" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/f7b230687bb60f08cdbd25499b11504b?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/f7b230687bb60f08cdbd25499b11504b?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://scdny.com/" rel="author nofollow" itemprop="name">Sandy Campbell</a></span> wrote on <time datetime="2013-12-03T21:11" itemprop="commentTime"><a href="#comment-93" rel="bookmark" itemprop="url" title="Permanent link to comment 93 on “Everything you always wanted to know about touch icons”">3rd December 2013 at 21:11</a></time>:</p> </header> <div itemprop="commentText"> Since Retina displays came out I’ve been making all my webclip icons a single size, 512×512px. They look great at all sizes and I’ve never had a problem with them loading slowly. And I suspect that Apple is probably hard at work on SuperRetina displays since they’re already making their icons 1024×1024. IconSlate is the best tool I’ve found for creating webclip icons and favicons. Favicons are a little easier to work with because you can embed several sizes (up to 256×256) in a single `.ico` file. </div> </article> <article id="comment-94" data-id="938" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/c026c6d803a689b59b9c48946ec71301?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/c026c6d803a689b59b9c48946ec71301?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">khoailang</span></span> wrote on <time datetime="2014-01-05T15:30" itemprop="commentTime"><a href="#comment-94" rel="bookmark" itemprop="url" title="Permanent link to comment 94 on “Everything you always wanted to know about touch icons”">5th January 2014 at 15:30</a></time>:</p> </header> <div itemprop="commentText"> Should we put all of four links into the website or just one of them accordingly to iPhone or iPad…? I put all four and test it in iPhone 5s, it looks like the latest icon is always used (152×152px). ``` <link href="apple-touch-icon.png" rel="apple-touch-icon"> <link href="apple-touch-icon-precomposed.png" rel="apple-touch-icon-precomposed"> <link href="apple-touch-icon-76x76.png" rel="apple-touch-icon" sizes="76x76"> <link href="apple-touch-icon-120x120.png" rel="apple-touch-icon" sizes="120x120"> <link href="apple-touch-icon-152x152.png" rel="apple-touch-icon" sizes="152x152"> ``` For Android, when I ‘add bookmark’ and ‘add to home screen’, the favicon is used instead of the `apple-touch-icon-precomposed.png` as I was expecting, like this: ![](https://farm3.staticflickr.com/2856/11768957516_2c29a5514a_z.jpg) Am I missing something? </div> </article> <article id="comment-95" data-id="939" class="mathias" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="/" rel="author" itemprop="name">Mathias</a></span> wrote on <time datetime="2014-01-05T16:11" itemprop="commentTime"><a href="#comment-95" rel="bookmark" itemprop="url" title="Permanent link to comment 95 on “Everything you always wanted to know about touch icons”">5th January 2014 at 16:11</a></time>:</p> </header> <div itemprop="commentText"> [**khoailang:**](#comment-94) Both your questions are answered in the above post. </div> </article> <article id="comment-96" data-id="964" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/708250e5f1069dcba535fb6f420e62f5?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/708250e5f1069dcba535fb6f420e62f5?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://kevinsuttle.com/" rel="author nofollow" itemprop="name">Kevin Suttle</a></span> wrote on <time datetime="2014-03-28T16:45" itemprop="commentTime"><a href="#comment-96" rel="bookmark" itemprop="url" title="Permanent link to comment 96 on “Everything you always wanted to know about touch icons”">28th March 2014 at 16:45</a></time>:</p> </header> <div itemprop="commentText"> I’ve made [a gist](https://gist.github.com/kevinSuttle/9835773) with the (what I think is) the latest syntax. Let me know if it needs updating. ``` <!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: --> <link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png"> <!-- For the iPad mini and the first- and second-generation iPad on iOS ≤ 6: --> <link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72x72-precomposed.png"> <!-- For the iPad mini and the first- and second-generation iPad on iOS ≥ 7: --> <link rel="apple-touch-icon-precomposed" sizes="76x76" href="apple-touch-icon-76x76-precomposed.png"> <!-- For iPhone with high-resolution Retina display running iOS ≤ 6: --> <link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114x114-precomposed.png"> <!-- For iPhone with high-resolution Retina display running iOS ≥ 7: --> <link rel="apple-touch-icon-precomposed" sizes="120x120" href="apple-touch-icon-120x120-precomposed.png"> <!-- For iPad with high-resolution Retina display running iOS ≤ 6: --> <link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144x144-precomposed.png"> <!-- For iPad with high-resolution Retina display running iOS ≥ 7: --> <link rel="apple-touch-icon-precomposed" sizes="152x152" href="apple-touch-icon-152x152-precomposed.png"> <!-- Chrome v31+ for Android --> <link rel="icon" sizes="196x196" href="apple-touch-icon.png"> ``` </div> </article> <article id="comment-97" data-id="965" class="mathias" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="/" rel="author" itemprop="name">Mathias</a></span> wrote on <time datetime="2014-03-28T23:56" itemprop="commentTime"><a href="#comment-97" rel="bookmark" itemprop="url" title="Permanent link to comment 97 on “Everything you always wanted to know about touch icons”">28th March 2014 at 23:56</a></time>:</p> </header> <div itemprop="commentText"> [**Kevin:**](#comment-96) Looks good. </div> </article> <article id="comment-98" data-id="973" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/1f2c4bdd203c9019f75fb508b5e1b073?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/1f2c4bdd203c9019f75fb508b5e1b073?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Benedikt</span></span> wrote on <time datetime="2014-04-25T12:27" itemprop="commentTime"><a href="#comment-98" rel="bookmark" itemprop="url" title="Permanent link to comment 98 on “Everything you always wanted to know about touch icons”">25th April 2014 at 12:27</a></time>:</p> </header> <div itemprop="commentText"> @Kevin/Mathias: Shouldn't the last Android Icon be 192x192 and not 196x196? (XXXHDPI = 4x MDPI, so 4x48=192) See http://developer.android.com/design/style/iconography.html and http://iconhandbook.co.uk/reference/chart/android/ </div> </article> <article id="comment-99" data-id="974" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/1f2c4bdd203c9019f75fb508b5e1b073?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/1f2c4bdd203c9019f75fb508b5e1b073?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Benedikt</span></span> wrote on <time datetime="2014-04-25T12:30" itemprop="commentTime"><a href="#comment-99" rel="bookmark" itemprop="url" title="Permanent link to comment 99 on “Everything you always wanted to know about touch icons”">25th April 2014 at 12:30</a></time>:</p> </header> <div itemprop="commentText"> Clickable links..: [http://developer.android.com/design/style/iconography.html](http://developer.android.com/design/style/iconography.html) and [http://iconhandbook.co.uk/reference/chart/android/](http://iconhandbook.co.uk/reference/chart/android/) </div> </article> <article id="comment-100" data-id="975" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/1f2c4bdd203c9019f75fb508b5e1b073?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/1f2c4bdd203c9019f75fb508b5e1b073?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Benedikt</span></span> wrote on <time datetime="2014-04-25T12:33" itemprop="commentTime"><a href="#comment-100" rel="bookmark" itemprop="url" title="Permanent link to comment 100 on “Everything you always wanted to know about touch icons”">25th April 2014 at 12:33</a></time>:</p> </header> <div itemprop="commentText"> To answer my own question: Chrome's recommendation seems to differ from the app one's: [https://developer.chrome.com/multidevice/android/installtohomescreen](https://developer.chrome.com/multidevice/android/installtohomescreen) </div> </article> <article id="comment-101" data-id="984" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/c4f4d22a9f9b45107029a940f8e04f21?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/c4f4d22a9f9b45107029a940f8e04f21?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Xirux Nefer</span></span> wrote on <time datetime="2014-07-01T22:19" itemprop="commentTime"><a href="#comment-101" rel="bookmark" itemprop="url" title="Permanent link to comment 101 on “Everything you always wanted to know about touch icons”">1st July 2014 at 22:19</a></time>:</p> </header> <div itemprop="commentText"> Even if only one icon will be used, aren’t all of them downloaded? I think that’s the reason why people just add the bigger one: it’s true that then also the less powerful devices will download it, but that’s better than downloading ALL of them to just use one. At least it happens with stylesheets they are all downloaded even if you use media queries in the `media` attribute, even if only one of them will be used. Would love to hear your opinion. </div> </article> <article id="comment-102" data-id="1029" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/be1759766cc3c5e34c82749523e888ea?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/be1759766cc3c5e34c82749523e888ea?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Mike</span></span> wrote on <time datetime="2014-08-14T22:00" itemprop="commentTime"><a href="#comment-102" rel="bookmark" itemprop="url" title="Permanent link to comment 102 on “Everything you always wanted to know about touch icons”">14th August 2014 at 22:00</a></time>:</p> </header> <div itemprop="commentText"> Should we be using the `<!-- Chrome v31+ for Android -->` line in our sites? Can you add that line to your version, Mathias? </div> </article> <article id="comment-103" data-id="1035" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/eb6ce1b5ca1872ba6b47d881aa1a7632?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/eb6ce1b5ca1872ba6b47d881aa1a7632?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Mike McCollister</span></span> wrote on <time datetime="2014-09-10T20:05" itemprop="commentTime"><a href="#comment-103" rel="bookmark" itemprop="url" title="Permanent link to comment 103 on “Everything you always wanted to know about touch icons”">10th September 2014 at 20:05</a></time>:</p> </header> <div itemprop="commentText"> Will there be updates to icon sizes for the iPhone 6 and iPhone 6 plus? </div> </article> <article id="comment-104" data-id="1037" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/6f3ec7315ad0715ae2a5f89a52877218?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/6f3ec7315ad0715ae2a5f89a52877218?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://www.brucelawson.co.uk/" rel="author nofollow" itemprop="name">Bruce Lawson</a></span> wrote on <time datetime="2014-09-17T10:59" itemprop="commentTime"><a href="#comment-104" rel="bookmark" itemprop="url" title="Permanent link to comment 104 on “Everything you always wanted to know about touch icons”">17th September 2014 at 10:59</a></time>:</p> </header> <div itemprop="commentText"> For Opera Coast on iPad and iPhone as well as [the new startpage in Opera 25 Beta](https://www.opera.com/blogs/desktop/2014/09/bookmarks-arrive-opera-beta-25/), you can assign a lovely icon using `<link rel="icon" href="$URL" sizes="228x228">`. </div> </article> <article id="comment-105" data-id="1040" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/ffe68d6f71b225f7661d33f2a8908281?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/ffe68d6f71b225f7661d33f2a8908281?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://paulirish.com/" rel="author nofollow" itemprop="name">Paul Irish</a></span> wrote on <time datetime="2014-09-23T05:49" itemprop="commentTime"><a href="#comment-105" rel="bookmark" itemprop="url" title="Permanent link to comment 105 on “Everything you always wanted to know about touch icons”">23rd September 2014 at 05:49</a></time>:</p> </header> <div itemprop="commentText"> With the robust image selection tools now in `sizes`/`srcset` it feels like a great opportunity for Apple to clean up this mess. We could use a single `<link>` element. </div> </article> <article id="comment-106" data-id="1041" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/dc8dcb6df6b04c6cc218c3972cb6f10d?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/dc8dcb6df6b04c6cc218c3972cb6f10d?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Ken Casey</span></span> wrote on <time datetime="2014-10-02T13:59" itemprop="commentTime"><a href="#comment-106" rel="bookmark" itemprop="url" title="Permanent link to comment 106 on “Everything you always wanted to know about touch icons”">2nd October 2014 at 13:59</a></time>:</p> </header> <div itemprop="commentText"> Since updating to iOS 8 my icons are no longer working - anyone else seeing this issue? </div> </article> <article id="comment-107" data-id="1042" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/3d51a34ffe37b813b8169537f092af5e?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/3d51a34ffe37b813b8169537f092af5e?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Nem</span></span> wrote on <time datetime="2014-10-03T19:30" itemprop="commentTime"><a href="#comment-107" rel="bookmark" itemprop="url" title="Permanent link to comment 107 on “Everything you always wanted to know about touch icons”">3rd October 2014 at 19:30</a></time>:</p> </header> <div itemprop="commentText"> [**Ken:**](#comment-106) Same here. iOS 8 on iPhone 6 and the icons aren’t working for me, although I don’t have all the options described on this page defined in my document. Will try/test tonight. </div> </article> <article id="comment-108" data-id="1043" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/c51d39fe0d256f16e0d743cde9f71cc2?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/c51d39fe0d256f16e0d743cde9f71cc2?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Karl</span></span> wrote on <time datetime="2014-10-06T05:00" itemprop="commentTime"><a href="#comment-108" rel="bookmark" itemprop="url" title="Permanent link to comment 108 on “Everything you always wanted to know about touch icons”">6th October 2014 at 05:00</a></time>:</p> </header> <div itemprop="commentText"> Here’s some more [icon-related mess](https://bugzilla.mozilla.org/show_bug.cgi?id=1045961#c23). </div> </article> <article id="comment-109" data-id="1046" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/83172b0dc45354b1cb31f9751f11c402?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/83172b0dc45354b1cb31f9751f11c402?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">dave</span></span> wrote on <time datetime="2014-10-19T18:49" itemprop="commentTime"><a href="#comment-109" rel="bookmark" itemprop="url" title="Permanent link to comment 109 on “Everything you always wanted to know about touch icons”">19th October 2014 at 18:49</a></time>:</p> </header> <div itemprop="commentText"> Same here: they failed on my iPhone 5 running iOS 8. Then I got an iPhone 6 and they worked ’til the first reboot and now they’re gone again, it’s a real pain. Does anyone know what change in the code caused this? This is the code I use, I don’t understand it by the way, it just worked :) ``` <link rel=apple-touch-icon href=http://www.weebly.com/uploads/1/2/6/3/12633714/9093919_orig.png> ``` </div> </article> <article id="comment-110" data-id="1048" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/7905d373cfab2e0fda04b9e7acc8c879?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/7905d373cfab2e0fda04b9e7acc8c879?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">SE</span></span> wrote on <time datetime="2014-10-27T22:22" itemprop="commentTime"><a href="#comment-110" rel="bookmark" itemprop="url" title="Permanent link to comment 110 on “Everything you always wanted to know about touch icons”">27th October 2014 at 22:22</a></time>:</p> </header> <div itemprop="commentText"> I find this proprietary mess so lame. It would be easier to use one icon file and size, 192×192 now? Just add a few lines in `.htaccess` or `httpd.conf` as suggested in the article: ``` RewriteRule ^apple-touch-icon-144x144-precomposed.png$ icon-192x192.png [L] … RewriteRule ^touch-icon-192x192.png$ icon-192x192.png [L] ``` I use these just to clean my logs from the multiple requests for multiple sizes, no `html` tags, and can’t tell how it looks in smaller sizes, can someone try that and tell us? </div> </article> <article id="comment-111" data-id="1050" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/73443a14e015c8e7dc0bf061f6c189e7?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/73443a14e015c8e7dc0bf061f6c189e7?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Jeff</span></span> wrote on <time datetime="2014-11-03T18:50" itemprop="commentTime"><a href="#comment-111" rel="bookmark" itemprop="url" title="Permanent link to comment 111 on “Everything you always wanted to know about touch icons”">3rd November 2014 at 18:50</a></time>:</p> </header> <div itemprop="commentText"> Has anyone here had issues with their old icon being added to home screen after you have updated it? I am about to rename my image files to see if it clears the old ones out. </div> </article> <article id="comment-112" data-id="1060" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/e001a917895c7b40d5a7ed8589c89b18?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/e001a917895c7b40d5a7ed8589c89b18?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Kees</span></span> wrote on <time datetime="2014-12-17T18:09" itemprop="commentTime"><a href="#comment-112" rel="bookmark" itemprop="url" title="Permanent link to comment 112 on “Everything you always wanted to know about touch icons”">17th December 2014 at 18:09</a></time>:</p> </header> <div itemprop="commentText"> But what should you do when the page is requested once and the icon is requested 5 times? ``` xx.xx.xx.xx - - [11/Dec/2014:13:42:52 +0000] "POST /pagename/ HTTP/1.1" 200 3281 "http://www.website.url/pagename/" "Mozilla/5.0 xx.xx.xx.xx - - [11/Dec/2014:13:42:57 +0000] "GET /img/icon/apple-touch-icon.png HTTP/1.1" 200 5441 "-" "Mozilla/5.0 xx.xx.xx.xx - - [11/Dec/2014:13:42:57 +0000] "GET /img/icon/apple-touch-icon.png HTTP/1.1" 200 5441 "-" "Mozilla/5.0 xx.xx.xx.xx - - [11/Dec/2014:13:42:57 +0000] "GET /img/icon/apple-touch-icon.png HTTP/1.1" 200 5441 "-" "Mozilla/5.0 xx.xx.xx.xx - - [11/Dec/2014:13:42:57 +0000] "GET /img/icon/apple-touch-icon.png HTTP/1.1" 200 5441 "-" "Mozilla/5.0 xx.xx.xx.xx - - [11/Dec/2014:13:42:57 +0000] "GET /img/icon/apple-touch-icon.png HTTP/1.1" 200 5441 "-" "Mozilla/5.0 ``` The icon is on the correct path. </div> </article> <article id="comment-113" data-id="1062" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/39e96ae1f236a9fac27f1e6c06480c32?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/39e96ae1f236a9fac27f1e6c06480c32?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Denis</span></span> wrote on <time datetime="2014-12-28T00:43" itemprop="commentTime"><a href="#comment-113" rel="bookmark" itemprop="url" title="Permanent link to comment 113 on “Everything you always wanted to know about touch icons”">28th December 2014 at 00:43</a></time>:</p> </header> <div itemprop="commentText"> Try using this: <http://realfavicongenerator.net/>. </div> </article> <article id="comment-114" data-id="1070" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/453628e4cad0696c7d09066a1f8d9024?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/453628e4cad0696c7d09066a1f8d9024?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><a href="http://poddys.blogspot.com/" rel="author nofollow" itemprop="name">Tony Payne</a></span> wrote on <time datetime="2015-01-20T15:09" itemprop="commentTime"><a href="#comment-114" rel="bookmark" itemprop="url" title="Permanent link to comment 114 on “Everything you always wanted to know about touch icons”">20th January 2015 at 15:09</a></time>:</p> </header> <div itemprop="commentText"> Thanks for this information, it’s very detailed and useful. I have been wondering for ages why we keep getting all these `apple-touch-icon` messages in our server logs (hundreds most days) especially when our sites don’t define any. I do have to wonder why Apple can’t just be happy with the good old `favicon.ico` like everything else and has to cause people a lot of extra work. </div> </article> <article id="comment-115" data-id="1073" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/4e99aaa8e2e037237973aef2aa4111ca?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/4e99aaa8e2e037237973aef2aa4111ca?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Joy McClanahan</span></span> wrote on <time datetime="2015-02-06T21:10" itemprop="commentTime"><a href="#comment-115" rel="bookmark" itemprop="url" title="Permanent link to comment 115 on “Everything you always wanted to know about touch icons”">6th February 2015 at 21:10</a></time>:</p> </header> <div itemprop="commentText"> Mathias, You appear to have a more general idea about how things should work so I hope you can help me. Suddenly the icons on my iPad Mini changed to black and white they have some type of geometric symbol on them — this is the best way I can describe them. Have you run across anything like this some of them remained with the original icon pics on them but mostly all black and white. They are very hard to work with. My screen is not black and white; everything else is fine. Thanks, Joy </div> </article> <article id="comment-116" data-id="1079" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/11448d33840ef72e22f15abcc5ee8a34?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/11448d33840ef72e22f15abcc5ee8a34?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Luca</span></span> wrote on <time datetime="2015-02-27T11:46" itemprop="commentTime"><a href="#comment-116" rel="bookmark" itemprop="url" title="Permanent link to comment 116 on “Everything you always wanted to know about touch icons”">27th February 2015 at 11:46</a></time>:</p> </header> <div itemprop="commentText"> I find it crazy to impose to desktop browser to make 20 extra HTTP requests to download these useless images! Hence I leave them in the root without linking them in the HTML, iOS should be fine and hopefully Android (in 2015!) has also smartened up about this! </div> </article> <article id="comment-117" data-id="1089" itemprop="comment" itemscope itemtype="http://schema.org/UserComments"> <header> <div class="avatar"><img src="https://gravatar.com/avatar/896829436e4e720f2466da2f9a1c97cb?s=30" alt="" width="30" height="30" srcset="https://gravatar.com/avatar/896829436e4e720f2466da2f9a1c97cb?s=60 2x"></div> <p class="meta"><span itemprop="creator" itemscope itemtype="http://schema.org/Person"><span itemprop="name">meesteridle</span></span> wrote on <time datetime="2015-03-29T16:19" itemprop="commentTime"><a href="#comment-117" rel="bookmark" itemprop="url" title="Permanent link to comment 117 on “Everything you always wanted to know about touch icons”">29th March 2015 at 16:19</a></time>:</p> </header> <div itemprop="commentText"> I just do this: ``` cd /var/www touch favicon.png cd /var/www/example.com ln -sf ../favicon.png apple-touch-icon.png ln -sf ../favicon.png apple-touch-icon-precomposed.png ln -sf ../favicon.png favicon.ico ln -sf ../favicon.png favicon.png ``` </div> </article> </section> <section> <h1>Leave a comment</h1> <form method="post" action="/notes/touch-icons"> <fieldset> <legend>Comment on “Everything you always wanted to know about touch icons”</legend> <p> <label for="comment-name">Name <em>*</em></label> <input type="text" name="comment-name" id="comment-name" required> </p> <p> <label for="comment-mail">Email <em>*</em></label> <input type="email" name="comment-mail" id="comment-mail" required> </p> <p> <label for="comment-site">Website</label> <input type="url" name="comment-site" id="comment-site"> </p> <p><textarea rows="5" cols="50" name="comment-text" id="comment-text" required></textarea></p> <p>Your input will be parsed as Markdown.</p> <p> <label for="comment-spam">Spammer? (Enter ‘no’) <em>*</em></label> <input type="text" name="comment-spam" id="comment-spam" required> </p> <p class="submit"> <input type="submit" name="submit" value="Add your comment"> </p> </fieldset> </form> </section> </article> </section> <footer>© 1988–2026 Mathias Bynens</footer> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js" integrity="sha384-K+ctZQ+LL8q6tP7I94W+qzQsfRV2a+AfHIi9k8z8l9ggpc8X+Ytst4yBo/hH+8Fk" crossorigin></script> <script src="/js"></script> </body> </html>