html a標籤跳轉

html a標籤精確跳轉

<a id="tips">Useful Tips Section</a>

在HTML文檔中創建一個鏈接到"有用的提示部分(id="tips")":
<a href="#tips">Visit the Useful Tips Section</a>

或者,從另一個頁面創建一個鏈接到"有用的提示(id="tips")部分":
<a href="//www.w3cschool.cn/html_links.html#tips"> Visit the Useful Tips Section</a>


摘自w3cschool

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章