Home » How To & Tutorials

Add a shortcut icon (favicon) to your web site

To add a shortcut icon (known as a favicon) to a web page place the following line in the head section of the HTML page.

<link href="http://www.yoururl.com/favicon.ico" type="image/x-icon" rel="shortcut icon" />

The shortcut icon should be named favicon.ico and is typically placed in the root directory of the web site structure.

Add a shortcut icon (favicon) to your web site

The icon file needs to be a special .ico format. To produce a suitable icon there are online web sites such as the Favicon Generator and Gallery at http://www.favicon.co.uk/.

You can read more about shortcut icons on the MSDN Site at How to Add a Shortcut Icon to a Web Page

Related Posts with Thumbnails

One Comment »

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.