<!-- 把下列代码加到<body>区域中 -->
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function addbookmark()
{
bookmarkurl="http://www.knowsky.com"
bookmarktitle="欢迎光临网页教学网"
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}
// End -->
</script>
<a href="javascript:addbookmark()"><b>加入收藏夹</a>