How to make a favicon for your website and add it - the code
Topics

Hi!
I'm Karsten and I want to help people learn German.
Buy me a coffee if you feel I did well.

How to add a favicon for your website - ceating a favicon - code

It was quite a pain to add a favicon to the website years ago. But now this has gotten very easy. Just add the following code to your site. The code is put into the head, where all your metas are located.

  <head>
   <link rel="icon" type="image/png" href="images/favicon.png">
  </head>

Use Gimp to create it. You have to make it a square:

How to make a favicon for your website and add it - the image - gimp

submit to reddit


Sneak peek of the server side code