How to add a browser tab icon for a website? - In HTML/CSS

Adding tab icon makes a website more attractive. And the way of doing it is simply add the following code to the head tag :

<link rel="icon" href="source_of_the_image_you_want.png">

I hope this small effort will help you <3