Create favicon for your website

favicon

What is favicon?

A favicon (favorites icon) is used as a shortcut icon for website. It is also bookmark icon ( on bookmark bar or menu ), url icon ( what we see on location bar ).

What it is exactly?

It may be .png, .gif, .ico graphic image having dimension 16X16, 32X32…

How to create favicon?

.png, .gif – you can create this file using any image editing software
.ico – you’ll get some online icon maker software to generate .ico file from your image.

How to use favicon in website?

For ICON (.ico file)

<link href="favicon.ico" rel="shortcut icon" /> 

For GIF (.gif file)

<link href="favicon.gif" rel="icon" type="image/gif" /> 

For PNG (.png file)

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

Hope this will help you in your projects.
Please share/recommend  if you like this post.

Thanks,
Nikhil U.
UI Designer
Pune[MH,India]

Advertisements
%d bloggers like this: