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:
-
Touch icon for iOS 2.0+ and Android 2.1+:
<link rel="apple-touch-icon-precomposed" href="path/to/favicon-180.png">
-
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.
-
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:
- http://mathiasbynens.be/notes/rel-shortcut-iconĀ ā special thanksĀ @mathiasbynens
- http://mathiasbynens.be/notes/touch-iconsĀ ā special thanksĀ @mathiasbynens
- http://www.jonathantneal.com/blog/understand-the-favicon/
- https://en.wikipedia.org/wiki/Favicon.ico
- http://snook.ca/archives/design/making_a_good_favicon
- http://www.netmagazine.com/features/create-perfect-favicon
- http://www.ravelrumba.com/blog/android-apple-touch-icon/
- http://msdn.microsoft.com/en-us/library/ie/gg491740(v=vs.85.aspx
Appendix
Note created on 2024-05-01 and last modified on 2024-05-01.
Backlinks
LIST FROM [[Cheatsheet - Favicons]] AND -"CHANGELOG" AND -"//Cheatsheet - Favicons"
(c) No Clocks, LLC | 2024