<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title></title>
<meta http-equiv = "content-type" content="text/html;charset=utf-8"/><!--设置编码集 同时注意设置的编码集方式要和保存时方式相同 save as -->
<a href="javascript:window.external.AddFavorite('http://www.baidu.com','编程')">收藏</a>
</head>
<body>
<a href="javascript:window.external.AddFavorite('http://www.baidu.com','编程')">收藏</a>
<a href="mailto:1032036512@qq.com">联系我们</a>
<a href="#" onClick="this.style.behavior='url(#default#homepage)';this.sethomepage('http://www.baidu.com')">设为首页</a>
</body>
</html>
转载于:https://blog.51cto.com/nobelking/1421968