How to setup that browser tab icon for your website

How to setup that browser tab icon for your website

ยท

1 min read

Those are called 'favicon's. It's the small icon for your website displayed within the browser tabs and bookmarks bar. It helps users visually identify your brand.


How do you set it up?

  1. You can use any image (preferably your brand logo) in a 32x32 pixels .PNG format for this. You can also use images in .SVG or .ICO format as well but PNG is the easiest way. It has to be square shaped and the recommended size is 32x32 pixels.

  2. Add the following line within the <head> section of your webpage.html :

    <link rel="icon" type="image/png" sizes="32x32" href="favicon.png"/>
    

    Remember to replace the href attribute value to the proper location of your favicon.


And that is all. You should now be seeing your own brand logo as the browser icon for your website ๐ŸŽ‰. If you need more help generating the favicon in your preferred format, you can visit - favicon.io

Thanks for reading! Have a great day ๐Ÿ‘

ย