HTML question

jeddedia

Junior Member
Jan 27, 2006
2
0
0
So how do i get the little image icon or logo of a website to appear next to the page title, and show up in favorites? Just like here at Anandtech or Hard OCP. Any help would be greatly appreciated.
--Chris
 
Jun 4, 2005
19,723
1
0
It's a favourite icon. Simply put the 16x16 image in your HTDocs folder named favicon.ico Then add this to your head tags :

<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

EDIT : Or, if you'd like, you can put it anywhere on your server, just change /favicon.ico with the path to your icon.

32x32 is acceptable aswell, it'll just scale it to size.
 

AdamSnow

Diamond Member
Nov 21, 2002
5,736
0
76
Originally posted by: LoKe
It's a favourite icon. Simply put the 16x16 image in your HTDocs folder named favicon.ico Then add this to your head tags :

<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

EDIT : Or, if you'd like, you can put it anywhere on your server, just change /favicon.ico with the path to your icon.

32x32 is acceptable aswell, it'll just scale it to size.

:thumbsup: