If you use IE7 or a browser with multiple tabs, you will surely find the personal icon at the front of the tab. How can this be done?
I have never quite understood it. By chance, my colleague told me several practices and posted them to share with you.
1.
Put an ico icon directly to the root directory of your website and name it favicon. ico. Favicon. ico should be a 256-colored 16 icon.
However, for earlier versions of IE, you can
Add the following mark between the Copy codeThe Code is as follows:
<Link rel = "icon" href = "/youricon. ico" type = "image/x-icon"/>
<Link rel = "shortcut icon" href = "/youricon. ico" type = "image/x-icon"/>
2.
No code required
You put an ico icon directly to the root directory of your website and name it favicon. ico. For example, 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 website can turn General pictures into ICO type
To display the content in browsers earlier than IE5, add the following code between the HTML source file
<Link rel = "Shortcut Icon" href = "image address">
<Link rel = "Shortcut Icon" href = "favicon. ico"> replace IE with your own Icon in front of the address bar.
<Link rel = "Bookmark" href = "favicon. ico"> you can display your icons in favorites.
IE6 does not display icons by default. icons are only displayed when you add a favorite,
====================
In addition, the site written in VS2005 has been okay for a long time. Due to the recent emergence of IE8, the disabled button was still displayed as it was, and thought it was a IE8 bug, but it was found for a long time.
The MS button can still be disabled, so it is not necessarily a browser Bug.
After several queries, it turns out that the W3C document reference version is too low.
After Upgrade.
This is the sentence:
Copy codeThe Code is as follows:
<! DOCTYPE html PUBLIC "-// W3C // dtd html 4.01 Transitional // EN">