Favicons Cheatsheet

Sources:

title: ## Contents 
style: nestedList # TOC style (nestedList|inlineFirstLevel)
minLevel: 1 # Include headings from the specified level
maxLevel: 4 # Include headings up to the specified level
includeLinks: true # Make headings clickable
debugInConsole: false # Print debug info in Obsidian console

Overview

About

A painfully obsessive cheat sheet to favicon sizes/types.

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.12
  • This works in every desktop browser/version all the way back to IE6

Optional but Encouraged

You probably also want the following:

  1. Touch icon for iOS 2.0+ and Android 2.1+:

    <link rel="apple-touch-icon-precomposed" href="path/to/favicon-180.png">
  2. IE 10 Metro tile icon (Metro equivalent of apple-touch-icon):

    <meta name="msapplication-TileColor" content="#FFFFFF">
    <meta name="msapplication-TileImage" content="/path/to/favicon-144.png">

    ReplaceFFFFFF with your desired tile color.

  3. IE 11 Tile for Windows 8.1 Start Screen

    <meta name="application-name" content="Name">
    <meta name="msapplication-tooltip" content="Tooltip">
    <meta name="msapplication-config" content="/path/to/ieconfig.xml">

    ieconfig.xml

    <?xml version="1.0" encoding="utf-8"?>
        <browserconfig>
          <msapplication>
            <tile>
              <square70x70logo src="/path/to/smalltile.png"/>
              <square150x150logo src="/path/to/mediumtile.png"/>
              <wide310x150logo src="/path/to/widetile.png"/>
              <square310x310logo src="/path/to/largetile.png"/>
              <TileColor>#FFFFFF</TileColor>
            </tile>
          </msapplication>
        </browserconfig>

References

Compiled from:


Appendix

Note created on 2024-05-01 and last modified on 2024-05-01.

LIST FROM [[Cheatsheet - Favicons]] AND -"CHANGELOG" AND -"//Cheatsheet - Favicons"

(c) No Clocks, LLC | 2024