HTML锚链接使用不同的查询字符串转到同一页面 [英] HTML anchor link going to the same page with different query string
本文介绍了HTML锚链接使用不同的查询字符串转到同一页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在网络文档( http://example.com/bla.php?x=123&y=321
)中,可以创建一个链接到的锚链接http://example.com/bla.php?z=111
而不将 bla.php
放入锚点的 href
?
Within a web document (http://example.com/bla.php?x=123&y=321
), is it possible to create an anchor link which goes to http://example.com/bla.php?z=111
without putting bla.php
in the anchor's href
?
推荐答案
这应该有效:
<a href="?z=111">link</a>
这篇关于HTML锚链接使用不同的查询字符串转到同一页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文