实施<a>?

时间:2016-06-09 18:21:44

标签: html amazon href

Im new to web technology. what is the best way implement hyperlink event. I don't want to reveal the page name on hyperlink when user inspect the web page in browser.I saw an example on amazon.in. they are just passing the link url in href.and the requesd page is showing. i want to achieve the same. How can i do it? Please suggest..

1 个答案:

答案 0 :(得分:-1)

亚马逊等网站使用包含<a>元素和href属性的超链接。

<a href="/gp/product/....">text or image</a>

当您将鼠标悬停在链接上时,可以添加title来显示信息。就像chrisv所说,不清楚页面名称是什么意思并不清楚。