Make a browser address bar & favorites in the small icon

xiaoxiao2021-03-06  38

Make a browser address bar & favorites in the small icon

If you are using a web browser is an IE5 or above, you will pay attention to you after adding some websites (such as: Netease, Yahoo, etc.) to "Favorites", you still have one next to these sites titled Candle with personal icons? This is the "Favorites icon). Take "Netease", in the left side of the title "Welcome to Netease!", IE5 default icon is replaced with a red variant Chinese "easy" word. So, if you are browsing "Netease", the icon in the address bar of IE5 is also a red "easy" word. It is also because of these personalized icons make them exceptionally eye-catching in your "favorites".

Do you also want to add an icon that reflects your homepage in your homepage? It is actually very simple to achieve this.

The first step is to prepare an icon making software.

First you must understand the so-called icon (icon) is a special graphical file format, which is an extension in .ico. Ordinary image design software cannot use this format, so you need to download an icon making software to a software download site. You can also visit http://www.favicon.com/, here is available here with a free online Favorites icon generator, if you have good, here you can also learn more about Favorites The knowledge of icons.

Step 2, determine the specification of the Favorites icon.

The Favorites icon has its unique specification: the size of the icon is 16 * 16 (in pixels); the color used must not exceed 16 colors. (For clarity)

Step 3, design a icon belonging to your own.

You can make LOGOs for your website into an outline or design a unique pattern as a Favorites icon. In short, it must be your own, and it can behave well on your website style and personality. Then name this icon file: f avicon.ico.

Finally, this icon file (Favicon.ico) is uploaded to the root directory of the server where your website is located. You don't need any modifications to your web file, IE5 will automatically search for the root directory of your website, as long as it discovers Favicon.ico file, the icon is displayed in the address of the visitor. The column and the collection list.

If you want to set different Favorites icons for different pages, then you need to add the following on the Head section of the web file:

Note: The path of the icon must use an absolute path.

One thing to explain is: Some web sites, host servers (such as geocities) do not support icon file format, then you need to contact your administrator to request him to open the icon file format.

Action now, let your website also have a "favorites" icon!

转载请注明原文地址:https://www.9cbs.com/read-58137.html

New Post(0)