链接到锚点 [英] Links to anchors

查看:109
本文介绍了链接到锚点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法点击一个页面上的链接并让它转到另一个页面,但是在特定的位置?我正试图从一个页面的链接转到另一个页面上的目录项目。我知道如何在页面之间进行超链接,但不知道如何在另一个

解决方案

中查看特定项目。查看锚标记的name属性:
http://www.w3schools.com/HTML/html_links.asp

Is there a way to click on a link on one page and have it go to another page, but at a specific spot? I'm trying to go from a link one page to a catalog item on another. I know how to hyperlink from page to page, but not to a specific item on another

解决方案

Look into name attribute of an anchor tag:
http://www.w3schools.com/HTML/html_links.asp


这篇关于链接到锚点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆