GuestHouse Posted December 15, 2004 Share Posted December 15, 2004 If you look at the top of this page in the Internet Search Bar you'll see a ThaiVisa Logo just before they http:/..... Anyone know how they do that? I'd like to do something similar on my own websites. Link to comment Share on other sites More sharing options...
triplegee Posted December 16, 2004 Share Posted December 16, 2004 It's called a favicon and it is a very simple thing to add to your site in a two step process. Create the file : First, you must create the favicon file. This file has to be a .ico (windows icon) file with dimensions of 16 x 16 pixels. You can use any program to do this. Implementing : Option 1) If you have root access then you can simply put the .ico file in the root level of your web site. This is the easiest way and will ensure that every page in your site will have the icon. When using this method, the file must be named favicon.ico. Option 2) If you do not have root access, then you can add a small snippet of code to each page that you would like the icon to be displayed on. <LINK REL="SHORTCUT ICON" HREF="/~your_directory/logo.ico"> Add this code between the <HEAD> and </HEAD> tags of your page, replacing /~your_directory/logo.ico, with the location and name of your .ico file. Using this method, you can name the file anything you like and can use different files for different sections of your site. Good luck. Link to comment Share on other sites More sharing options...
GuestHouse Posted December 16, 2004 Author Share Posted December 16, 2004 Thanks foy your excellent help. Just knowing what these things are called helps me find more information. With regards GH Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now