跳轉到頁面指定段落

使用錨點跳轉 分兩步:code

1·設置錨點get

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

2·跳轉錨點co

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

點擊跳轉就能跳轉到target的位置。

相關文章
相關標籤/搜索