Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/amazon-s3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 如何在网页中自动获取书签图标?_Html - Fatal编程技术网

Html 如何在网页中自动获取书签图标?

Html 如何在网页中自动获取书签图标?,html,Html,我正在网页中组织我的书签 当我将一个页面添加到我的工具栏时,它会自动抓取图标,并且我希望在HTML页面中的网页地址旁边显示相同的图标,而无需下载文件并将其链接为图像 e、 g etc etc在HTML的部分: <link rel="shortcut icon" href=" URL of icon here "> 为了完全兼容浏览器,必须使用ICO文件。除Internet Explorer外,所有浏览器都广泛支持PNG、GIF和JPEG格式。在HTML的部分: <link

我正在网页中组织我的书签

当我将一个页面添加到我的工具栏时,它会自动抓取图标,并且我希望在HTML页面中的网页地址旁边显示相同的图标,而无需下载文件并将其链接为图像

e、 g

etc etc

在HTML的
部分:

<link rel="shortcut icon" href=" URL of icon here ">

为了完全兼容浏览器,必须使用ICO文件。除Internet Explorer外,所有浏览器都广泛支持PNG、GIF和JPEG格式。

在HTML的
部分:

<link rel="shortcut icon" href=" URL of icon here ">


为了完全兼容浏览器,必须使用ICO文件。除Internet Explorer外,所有浏览器都广泛支持PNG、GIF和JPEG。这些图标的url为:
http://domain.com/favicon.ico

html

<body>
    <img src="http://google.com/favicon.ico" height="16"/> Google
    <br />
    <img src="http://facebook.com/favicon.ico" height="16"/> Facebook
</body>

谷歌

脸谱网

A

这些图标的url是:
http://domain.com/favicon.ico

html

<body>
    <img src="http://google.com/favicon.ico" height="16"/> Google
    <br />
    <img src="http://facebook.com/favicon.ico" height="16"/> Facebook
</body>

谷歌

脸谱网

A

它叫法维康。谷歌itI做到了,但找不到我想要的方式使用favicon的方法你解决了吗?因为你查对了答案,所以叫法维康。谷歌itI做到了,但找不到我想要的方式使用favicon的方法你解决了吗?因为你查对了答案