如题,请诸位大佬指教下:
除了 safari 的书签和个人收藏这两个位置的图标。其他地方的图标都可以显示。

通过 safari 添加网站到主屏幕,和切换标签时都是可以显示正常的图标的。

chrome 无论是 Windows 桌面版,还是 ios 版,都可以显示图标。

代码如下,请诸位大佬指点下,万分感谢。

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>亮</title>
<link rel="stylesheet" href="form4.css">

<!-- -->
<link rel="apple-touch-icon" sizes="180x180" href="favicon/favicon-apple-touch-icon-180x180.png">

<link rel="icon" type="image/png" sizes="16x16" href="favicon/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="48x48" href="favicon/favicon-48x48.png">
<link rel="icon" type="image/png" sizes="64x64" href="favicon/favicon-64x64.png">
<link rel="icon" type="image/png" sizes="96x96" href="favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="120x120" href="favicon/favicon-120x120.png">
<link rel="icon" type="image/png" sizes="128x128" href="favicon/favicon-128x128.png">
<link rel="icon" type="image/png" sizes="152x152" href="favicon/favicon-152x152.png">
<link rel="icon" type="image/png" sizes="167x167" href="favicon/favicon-167x167.png">
<link rel="icon" type="image/png" sizes="180x180" href="favicon/favicon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="favicon/favicon-192x192.png">
<link rel="icon" type="image/png" sizes="512x512" href="favicon/favicon-512x512.png">
<!-- -->

</head>

<body>
</body>
</html>
举报· 36 次点击
登录 注册 站外分享
1 条回复  
cat 小成 2024-11-4 10:01:34
我一般就写这两个,都能显示…
返回顶部