码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2016-03-11 12:01:08      阅读:169      评论:0      收藏:0      [点我收藏+]

标签:

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

技术分享

 

实现方法:

在页面的头部加上这句代码 <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

 

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

标签:

原文地址:http://www.cnblogs.com/linJie1930906722/p/5264639.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!