Advertisements
Home > DotNet, HTML > How to set favicon for website page?

How to set favicon for website page?


What is a favicon ? 

It’s a good practice to add a favicon to the website. Favicon is nothing but it is a small icon associated with a particular website, and typically displayed in the address bar of a browser viewing the site. A favicon (short for favorites icon), also known as a website icon, shortcut icon, url icon, or bookmark icon is a 16×16, 32×32 or 64×64 pixel square icon associated with a particular website or webpage. 

How to set favicon for websites? 

Setting favicon to the website is very simple, can be acieved by simple steps. First of all we need to create fav icon which should be associated with our website, size 16×16, 32×32 or 64×64 and uploaded to our website (commonly inside images folder). 

In the second step we have to put below codes inside the header tag of all webapages in our site. After that if you browse your web page you can see that your favicon is showing in address bar. Eg : www.supershope.com

 <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: