- First you need a logo for your website
- Use http://www.favicon.co.uk/ or http://www.animatedfavicon.com/ to create a favicon
- Place the following code in the head section of your website
<head>
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
</head>
- Place the favicon in the same folder as your page