HTML页内定位链接 2024年06月11日 网络智能 留言 HTML页内定位链接可以通过使用锚点(anchor)实现 123456789101112131415<!DOCTYPE html><html><head> <title>页内定位示例</title></head><body> <h2><a href="#section1">第一部分</a></h2><h2><a href="#section2">第二部分</a></h2> <div id="section1">这是第一部分的内容。</div><div id="section2">这是第二部分的内容。</div> </body></html> 文章目录 原文链接: https://ptshu.us.kg/2024/06/11/HTML页内定位链接/ 版权声明: 转载请注明出处。