在head标签中加入 <link rel="shortcut icon" href="favicon.ico" /> 如果是母版页可以放在木板页面中, favicon.ico是一个16*16的图标,放在网站的根目录下.