简体   繁体   English

如何更改IE浏览器徽标?

[英]How to change IE browser logo?

I run my application in IE Browser. 我在IE浏览器中运行我的应用程序。 Here when I enter my URL and run the application I want to display any other logo instead of IE logo. 在这里,当我输入URL并运行应用程序时,我想显示任何其他徽标而不是IE徽标。 在此处输入图片说明

Here, Instead of this IE logo I want to display some other. 在这里,我想显示其他一些内容而不是IE徽标。 How can I do this? 我怎样才能做到这一点? This is only for when I will open my URL. 这仅适用于我将打开URL的情况。 In other cases want to display the default IE logo only. 在其他情况下,只希望显示默认的IE徽标。 Please help me for do this. 请帮我做这个。

What you need is called favicon. 您需要的是favicon。 The favicon (also called 'favorites icon' or 'site icon'), is a small image displayed next to the website URL in the browser address bar, and inside the Favorites (Bookmarks) menu. 网站图标(也称为“收藏夹图标”或“站点图标”)是显示在浏览器地址栏中网站URL旁边和“收藏夹(书签)”菜单中的小图像。

To use it put <link rel="icon" href="favicon.ico"> inside the <head> </head> tag of your html file. 要使用它,请将<link rel="icon" href="favicon.ico">放在html文件的<head> </head>标记内。 Create the favicon image, with approximate size 16 x 16 px with this name: "favicon.ico" in the root directory of your site (There are online tools for converting your image to "ico" format). 在网站的根目录中创建favicon图像,其大小约为16 x 16 px,名称为“ favicon.ico”(有一些在线工具可将图像转换为“ ico”格式)。 If you have png file you can also put it: 如果您有png文件,也可以放置它:
<link rel="shortcut icon" type="image/png" href="/favicon.png"/>

Download the favicon image from the site. 从网站下载收藏夹图像。 save it in your image folder. 将其保存在图像文件夹中。 And include it in path like below within <head> section. 并将其包含在<head>部分中的以下路径中。

<link rel="shortcut icon" type="image/x-icon" href="images/image_Fevicon.jpg">

Favicon image size is 16x16 or 32x32. Favicon图片大小为16x16或32x32。

you can include favicon image by using following syntax. 您可以使用以下语法添加收藏夹图像。 Save your image in images folder and include path in "href". 将图像保存在图像文件夹中,并在“ href”中包含路径。

<link rel="shortcut icon" type="image/x-icon" href="images/image_Fevicon.jpg">

you can include favicon image by using following syntax. 您可以使用以下语法添加收藏夹图像。 Save your image in images folder and include path in "href". 将图像保存在图像文件夹中,并在“ href”中包含路径。

<link rel="shortcut icon" type="image/x-icon" href="images/image_Fevicon.jpg">

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM