Home  >  Article  >  Backend Development  >  这边用#表示什么意思呢

这边用#表示什么意思呢

WBOY
WBOYOriginal
2016-06-13 12:00:221123browse

这里用#表示什么意思呢
xxx.php#key1=value1&dey2=value2
按说#位置应该放?号啊,放个#代表什么意思呢
------解决方案--------------------
url 中的 # 表示定位的锚点
只对浏览器有效,不会被 php 接收和处理
------解决方案--------------------
锚点是网页制作中超级链接的一种,又叫命名锚记。命名锚记像一个迅速定位器一样是一种页面内的超级链接。

点击我链接到FOOT
假如本页面的地址是http://文件路径/index.html,要访问foot锚点只要访问如下链接即可
http://文件路径/index.html#foot

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn