So, how can you do the same thing? All that is actually required is that you create a file called favicon.ico and place it in your main website directory where the other HTML files are stored. The trick is in the creation of the icon file.
First, you will probably want to get an icon creation tool to create your own favorites icon. One good one is Microangelo. Or even easier yet, there’s an cool online tool that lets you upload any image, and it resizes and converts it to a favicon: Favicon generator.
When creating a Favicon, you should be aware of the following guidelines:
i) Make sure the size of your icon is 16×16 pixels. This is the size the browser will expect.
ii) Make sure you use only a 16 color palette. Again, it needs to be this way to work properly.
After you’ve created a neat favicon, it’s time to add it to your site. To do so, follow the below simple procedure:
- Upload the generated file (“favicon.ico”) to your site. Verify it’s there by typing http://mysite.com/favicon.ico in the browser’s location, where “mysite.com” is your site’s address.
- Next, insert the below code in the HEAD section of your pages, at the very least, your site’s main index page:
<link rel="shortcut icon" href="/favicon.ico" />
|Judul :||How to Adding a favorites icon to your site (Favicon)|
|Deskripsi :||Have you ever added a site to your favorites menu in modern browsers such as IE and Firefox, and noticed that a web site’s own custom...|
|Ditulis Oleh :||Zulfianto|
|Author Rating :||
4/ 5 Suara