asp.net display your own page icons in several ways

Source: Internet
Author: User

Multi-Tab browser, you will definitely find the tab front of the personality icon, about this thing there are several ways to share the following

If you are using more than IE7 version, or with the tab of the browser, you will find the tab in front of the personality icon, this is how to do it?

I have not quite understood, by chance, my colleagues told me a few ways to post and share with you

1.

Just put an ICO icon into your site's root directory and name it favicon.ico. Favicon.ico should be a 256-color icon for 16x16.

But for the lower version of IE can not see, but

Add the following tag between the page and the tag.

Copy code code as follows:

  

  

2.

No need to add any code

You directly put an ICO icon to your site's root directory, and named Favicon.ico can be, such as http://www.abc.com, then the path is Http://www.abc.com/Favorite.ico

IE will automatically search for this stuff.

http://www.favicon.com/

http://www.html-kit.com/favicon/This site can convert a general image into an ICO-type

If you want to display in a browser below the IE5 version, add the following code between the HTML source file "":

  

The IE Address bar is replaced with its own icon

You can display your icon in the Favorites folder.

IE6 The icon is not displayed by default, only the icon appears when you add a collection.

==============

In addition with VS2005 write site has been no problem, because the recent IE8, found disabled button unexpectedly or show the original, thought is IE8 bug, but looking for a half-day

The discovery of MS Button can still be disabled, so it is not necessarily a browser bug.

After a few searches, the original version of the document referenced by the consortium is too low

After the upgrade is done.

This is the sentence:

Copy code code as follows:

<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" >

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.