查询字符串中“#”(哈希)的含义是什么? [英] What does the meaning '#'(Hash) in query string

查看:110
本文介绍了查询字符串中“#”(哈希)的含义是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





任何人都知道这一点,查询字符串中'#'(哈希)的含义是什么?。



谢谢,

解决方案

例如,在page2.html中,您有一个标记为tip的部分,如下所示:

< a id =tip>实用提示< / a> 



从其他导航到此部分页面,在其他页面中包含此内容:

< a href =page2.html#tip>访问page2.html中的有用提示部分< / a> 


Hi,

Anybody knows about that,"What does the meaning '#' (Hash) in query string?".

Thanks,

解决方案

For example, in page2.html, you have a section marked as "tip" like this:

<a id="tip">Useful Tips</a>


To navigate to this section from other pages, include this in these other pages:

<a href="page2.html#tip">Visit useful tip section in page2.html</a>


这篇关于查询字符串中“#”(哈希)的含义是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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