Hacker News new | past | comments | ask | show | jobs | submit login

There are variations of it now due to mobile devices, social sharing etc that may prefer a larger icon.

An online favicon generator will create these variations

<link rel="apple-touch-icon" sizes="57x57" href="/ico/apple-icon-57x57.png">

<link rel="apple-touch-icon" sizes="60x60" href="/ico/apple-icon-60x60.png">

<link rel="apple-touch-icon" sizes="72x72" href="/ico/apple-icon-72x72.png">

<link rel="apple-touch-icon" sizes="76x76" href="/ico/apple-icon-76x76.png">

<link rel="apple-touch-icon" sizes="114x114" href="/ico/apple-icon-114x114.png">

<link rel="apple-touch-icon" sizes="120x120" href="/ico/apple-icon-120x120.png">

<link rel="apple-touch-icon" sizes="144x144" href="/ico/apple-icon-144x144.png">

<link rel="apple-touch-icon" sizes="152x152" href="/ico/apple-icon-152x152.png">

<link rel="apple-touch-icon" sizes="180x180" href="/ico/apple-icon-180x180.png">

<link rel="icon" type="image/png" sizes="192x192" href="/ico/android-icon-192x192.png">

<link rel="icon" type="image/png" sizes="32x32" href="/ico/favicon-32x32.png">

<link rel="icon" type="image/png" sizes="96x96" href="/ico/favicon-96x96.png">

<link rel="icon" type="image/png" sizes="16x16" href="/ico/favicon-16x16.png">

<link rel="manifest" href="/ico/manifest.json">

<meta name="msapplication-TileColor" content="#ffffff">

<meta name="msapplication-TileImage" content="/ico/ms-icon-144x144.png">

Nonetheless, the browser can see this when parsing the page and choose the appropriate path.




Geez, I've been out of the webdev loop for around 10 years. That's insane.


favicons should be SVGs and done with it. This is really insane!




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: