首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > CSS >

html中锚点的施用

2012-12-25 
html中锚点的使用指定一个锚点 例:? p nametop锚点位置/p div stypeheight1000/divinput

html中锚点的使用

指定一个锚点

例:?

<p name="top">锚点位置</p>

<div stype="height=1000"></div>

<input type="button" value="滚动到锚点位置" onclick="javascript:window.location.hash='#top' "/>

对滚动特效有帮助..

?

?

热点排行