You might have to clear your browser cache a few times to get it to show up, or shut down the browser and come back later, or bookmark the site. Favicons don't always show up straight away, especially in the browser you've been viewing the ste with previously.
Use > at the end if using HTML4 or HTML5, and /> for XHTML.
Originally Posted by benisjamin
You only need one line, but make sure to add the last bit (type="") as above, or try this version:
Ive read you have to put another line of code in which is :
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/vnd.microsoft.icon">