1. 将下面HTML代码嵌入网页,可将百度放在网页上

<iframe id="baiduframe" marginwidth="0" marginheight="0" scrolling="no"
  framespacing="0" vspace="0" hspace="0" frameborder="0" width="200" height="30" 
  src="http://unstat.baidu.com/bdun.bsc?tn=sitesowang&cv=1&cid=316&csid=102&bgcr=ffffff&ftcr=000000&urlcr=0000ff&tbsz=80">
</iframe>

2. 将下面HTML代码嵌入网页,可将Google放在网页上

<form action="http://www.google.com/search" method=get>
<input type=text value="关键字" name=q size=25>
<input name=btnG type=submit value="Google 搜索">
<input type=hidden name=ie value="Big5">
<input type=hidden name=hl value="zh">
</form>


3. 在网页上放置访问计数器

    具体步骤参见1,生成类似如下的一段代码,然后放入网页中。

<div align="center">
	<a href="http://www.amazingcounters.com"><img border="0" src="http://cc.amazingcounters.com/counter.php?i=3121459&amp;c=9364690" alt="reliable statistics" /></a><br />
	<a href="http://blog.csdn.net/zhaoyl03">Visitors</a>

参考:

1. 怎样在网页添加访问计数器

2. 网页计数器代码



posted on 2013-01-21 14:48  seventhsaint  阅读(721)  评论(0编辑  收藏  举报