链接到同一个页面的不同位置

来源:互联网 发布:java线程池实现原理 编辑:程序博客网 时间:2024/05/21 12:45
<html>    <head>        <meta charset="UTF-8">    </head>    <body>        <p>            <a href="#C4">查看 Chapter 4。</a>        </p>        <h2>Chapter 1</h2>        <p>这是1</p>        <h2>Chapter 2</h2>        <p>这是2</p>        <h2>Chapter 3</h2>        <p>这是3</p>        <h2>Chapter 1</h2>        <p>这是1</p>        <h2>Chapter 2</h2>        <p>这是2</p>        <h2>Chapter 3</h2>        <p>这是3</p>        <h2>Chapter 1</h2>        <p>这是1</p>        <h2>Chapter 2</h2>        <p>这是2</p>        <h2>Chapter 3</h2>        <h2 style="color: aqua"><a name="C4">Chapter 4</a></h2>        <h2 style="color: blanchedalmond"><a name="C4">我是五</a></h2>    </body></html>
0 0
原创粉丝点击