开发者

Help with URI component followed by #

开发者 https://www.devze.com 2022-12-24 00:44 出处:网络
http://something.com:80/somedir/index.html?type=test;one=onevalue#nose This is typical URI structure my question is what is \"#nose\" and how i can use/utilize it as web developer ?
http://something.com:80/somedir/index.html?type=test;one=onevalue#nose

This is typical URI structure my question is what is "#nose" and how i can use/utilize it as web developer ?

Thank开发者_JS百科s all.


#nose is the anchor on the page so if you have an anchor with name #nose the page will auto scroll to that anchor once loaded. That form of links can be used to navigate within a single web page.

For Example the following will allow you to make links to the FAQ heading.

<a name="faq"><h1>FAQ</h1></a> 


<a href="#faq">Link to the FAQ section</a>
0

精彩评论

暂无评论...
验证码 换一张
取 消