<html> <head> <title>显示网页图标</title> <!--显示网页图标--> <link rel="shortcut icon" href="img/App.ico" /> </head> </html>
这样就可以显示网页图标了,关键性代码就是:
<link rel="shortcut icon" href="img/App.ico" />
href后面带图片路径
<html> <head> <title>显示网页图标</title> <!--显示网页图标--> <link rel="shortcut icon" href="img/App.ico" /> </head> </html>
这样就可以显示网页图标了,关键性代码就是:
<link rel="shortcut icon" href="img/App.ico" />
href后面带图片路径