在title标签下面加上下面这句 <link rel="shortcut icon" href="ico图片的路径" type="image/x-icon"/> 这个图片最好是16*16的 ,像素和高度都是。