Website Small icon

Source: Internet
Author: User

When visiting the website, you can see the small icons of the website in the title bar, the search bar, the Favorite folders, they are actually placed in the root directory of the website, named: Favicon.ico

Such as:

Http://www.cnblogs.com/favicon.ico

How to make Favicon.ico:

Create 2 256-color small pictures: The pixel size is 32x32(for desktop icons) and 16x16(for browsers), the palette is to use "Windows default palette", otherwise, In the final effect display, the graphic may have a different color than what you originally intended.

Use:

After the picture is created, you can convert 2 images to an icon file using a small program such as Image2ico.

To upload the icon to the root directory, add the following code to the section in HTML:

<Linkrel= "icon"href= "/favicon.ico"mce_href= "/favicon.ico"type= "Image/x-icon"><Linkrel= "shortcut icon"href= "/favicon.ico"mce_href= "/favicon.ico"type= "Image/x-icon">

Website Small icon

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.