Wednesday, October 19, 2011

how to set favicon for your site or blog?

how to set the favicon for your site and specially for blogger .





allowed pics type are:

.png, .ico, .gif


upload your picture and get the link.
the right link is :

http://domain/path/picname..png


now put this code in your <head> tag.
to make a short cut icon
<link href='{image link}' rel='shortcut icon'/>
now to make a the site icon put this code depends on your pic type:

.ico:
<link href='{image link}type='image/vnd.microsoft.icon' rel='icon'/>
Google Chrome=yes
IE=NO
firefox = yes
opera= yes
safari= yes


.png:

<link href='{image link}type="image/png" rel='icon'/>
Google Chrome=yes
IE=NO
firefox = yes
opera= yes
safari= yes


.gif:


<link rel="icon" type="image/gif" href="http://example.com/image.gif" />

Google Chrome=yes
IE=NO
firefox = yes
opera= yes
safari= yes




replace {image link} with the image link.
for blogger edit your blog HTML and put the code right before the </head> element.

0 comments:

Post a Comment

gotta some thing to say ?

Note: Only a member of this blog may post a comment.