x
1
<style>
2
.long-text {
3
height: 1500px;
4
background: lightblue;
5
}
6
</style>
7
8
<h2><a id="top">这是标题,底部链接可以链接到这</a></h2>
9
10
<div class="long-text">
11
蜜蜂教程 - 有问题,找小蜜!
12
</div>
13
14
<a href="#top">链接到标题</a>
15
<style>
.long-text {
height: 1500px;
background: lightblue;
}
</style>
<h2><a id="top">这是标题,底部链接可以链接到这</a></h2>
<div class="long-text">
蜜蜂教程 - 有问题,找小蜜!
</div>
<a href="#top">链接到标题</a>