浏览器窗口 标签 图标 ,添加方法

在浏览器标签窗口添加 图片,要实现下图 箭头 所标的效果:

 

实现方法:

在页面的头部加上这句代码 <link rel="shortcut icon" href="Images/titleLog.ico" />   其中 href是图片的路径

完整代码:

 1 <!DOCTYPE html>
 2 <html>
 3 <head>
 4 <link rel="shortcut icon" href="Images/titleLog.ico" />
 5     <title>商城系统管理 </title>
 6     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 7     <script src="/admin/js/jquery-1.7.2.min.js" type="text/javascript"></script>
 8 </head>
 9 <frameset rows="100,*" cols="*" framespacing="0" frameborder="no" border="0">
10         <frame src="top2.aspx?TreeType=0" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" />
11         <frameset id="attachucp" framespacing="0" border="0" frameborder="no" cols="198,9,*"  rows="*">
12             <frame border="0" name="leftFrame" noresize="" scrolling="auto" src="Links.aspx"></frame>
13             <frame id="leftbar" scrolling="no" border="0" noresize="" name="switchFrame" src="swich.html"></frame>
14             <frame id="mainFrame" scrolling="yes" noresize="" border="0" name="mainFrame" src="index.aspx"></frame>
15             <noframes><body></body></noframes>
16         </frameset>
17 <noframes><body></body></noframes>
18     </frameset>
19 </html>
View Code

 

posted @ 2016-03-11 10:36  赛跑的蜗牛  阅读(1482)  评论(1编辑  收藏  举报