HTML5 给网站添加图标

1.首先将图标上传到对应的目录下
image
2.在网页的index.html,添加已下代码到<head>标签里

    <link rel="icon" href="i_view64_0_1.ico" type="image/x-icon" />
    <link rel="shortcut icon" href="i_view64_0_1.ico" type="image/x-icon" />
posted @ 2021-12-30 20:38  CuriosityWang  阅读(522)  评论(0编辑  收藏  举报