Creating and using Favicon.ico

Favicon (FAVorites ICON) – an icon of a website or web page, displayed by the browser in the address bar in front of the page URL, as well as as a picture next to a bookmark, in tabs and in other interface elements.

The standard size is 16×16 pixels.
To install, you just need to copy the icon to the root directory of the site, if any site engine with changeable themes is used, then it is advisable to also place the icon in the active theme directory, since in the theme block

<head></head>

the path of the icon to the directory of this theme can be specified

<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="https://ixnfo.com/dir/favicon.ico" type="image/x-icon">

If you don’t want to use the icon, you can create and place an empty favicon.ico file with zero size. This is desirable, since browsers refer to the favicon.ico file and if it does not exist, then the web server log file will contain a lot of entries about the error of accessing this file.

There are a lot of online icon builders and galleries with ready-made ones on the Internet. It is enough just to type in the search engine “favicon.ico gallery”, etc.

Leave a comment

Leave a Reply

Discover more from IT Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading