作者:动态网站…
来源:动态网站制作指南
热度:
2006-12-15 10:13:12
当网页内容太长或要导航到其它页面的一个具体位置时,可以使用 Html 中书签。 首先设计书签 <a name=”top”></a> 在不同位置定义 <a href=”#top”>返回到top位置</a> 如果是在不同的页面之间链接时要在href属性中加上网页名称。 First.html中定义了书签 <a name=”top”>Top的位置</a> 可以设置 <a href=”first.html#top”>return first Top</a>
1.同一个web页面链接
2.不同的页面之间转接
现在要从Second.html中转入First.html并且将位置定到top所在的位置
我来说两句:
推荐文章
相关文章