Sunday, July 17, 2011

To show the logo of your website in the address bar and favorites list

You want your site stand out in crowded favorites lists in browsers and address bars? How is it your company logo to the left of your site.
 
You must first create a logo for your website, a logo very small, to be exact. The size of the logo should be 16x16 pixels in size and there should be a Windows icon file stored (logo.ico for example). If your image editor does not support saving files in Windows icon format, you can use the following online or download an icon editor from a shareware site.
 
Source image:

 
Overview:Overview FavIconOverview FavIconOverview FavIconOverview FavIconOverview FavIcon
 
Once you have an icon file with your logo, you are ready to take the final step. The following methods are used in Explorer 5.x and without adverse effects work on other browsers.
 
Method 1

    
This is the easiest method to implement and is independent of the respective part of the work on your site users choose to add their favorites list. Do not worry if you do not have access to the root of your website, take a look at the following method.
   
    
If you have access to the root directory of your website, simply save your icon file as "favicon.ico" there. For example, if your site "www.chami.com", you must keep your icon file to be available "www.chami.com / favicon.ico". The web browser will look for favicon.ico, if your site is added to your favorites and if the root of your site is found, the icon appears next to the link to your site.

 
Method 2

    
If you do not have access to the root of your site, you need the following tag to your web page so the browser knows where your symbol. Unlike in the past, this time, you can save the icon under any name with the suffix ". Ico" We are called "logo.ico" and assume that your website in the directory "~ your_directory".
   
    
Links <"shortcut icon" rel =
           
Href = "/ ~ your_directory / logo.ico">
    
Listing 1: HTML code. Logo.htm Download (0.2 KB).
   
        
NOTE: tag above should be inter-<HEAD> and </ HEAD> inserted.

 
In addition, you can specify multiple logos for multiple pages with the second method. Simply save your icons using unique names as logo1.ico, logo2.ico, logo3.ico for example, and replace "logo.ico" in the HTML code above with the symbol name you use for a particular page. use

0 comments:

 
Fashion Trend © 2011 | All Rights Reserved | About | Privacy Policy | Contact | Sitemap