跳转到页面指定段落

使用锚点跳转 分两步:code

1·设置锚点get

<a name="target"></a>

2·跳转锚点co

<a href="#target">跳转</a>tar

点击跳转就能跳转到target的位置。

相关文章
相关标签/搜索