Skip to main content

favicon-cheat-sheet

A painfully obsessive cheat sheet to favicon sizes/types. Compiled from:

.. _@mathiasbynens: https://github.com/mathiasbynens

The HTML

Basics


For the main favicon itself, it's best for cross-browser compatibility not to
use any HTML. Just name the file `favicon.ico` and place it in the root of your
domain. [1]_ [2]_

This works in every desktop browser/version all the way back to IE6, except for SeaMonkey. [1]_

Optional But Encouraged

You probably also want the following: