Blog
Internet Marketing Company
Posts Tagged ‘Favicon’
Favicon also known as a website icon, shortcut icon, url icon, or bookmark icon is a 16×16 pixel square icon associated with a particular website or webpage. A web designer can create such an icon and install it into a website (or webpage) by several means, and most graphical web browsers will then make use of it.
Browsers that support favicons may display them in the browser’s URL bar, next to the site’s name in lists of bookmarks, and next to the page’s title in a tabbed document interface.
For optimal browser support, the following rules should be obeyed:
- Include both element types:
- <link rel=”shortcut icon” href=”http://example.com/favicon.ico” />
- <link rel=”icon” href=”http://example.com/favicon.ico” />
- The link elements must be inside the head element (between <head> and </head>) in the HTML.
- For XHTML, the link element must be empty (terminated by /> )
- The href can, but need not, point to the location /favicon.ico. It could equally well point anywhere else on your site that is convenient.
- The .ico file format will be read correctly by most browsers.
- Supported file formats: gif, jpg, png, and bmp.
- Use a gif or png with transparency if you require it.
- Maximum file size: 150.00 kB.
Note: A file called favicon.ico and located in the document root directory will also be found by some browsers which do not process the link elements, even if it is not linked from anywhere on your site.

