<!DOCTYPE html><html><head><metacharset="UTF-8"><title>设置锚点</title></head><body><aname="1F"></a><h1>手机</h1><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><p>华为p40</p><aname="2F"></a><h1>化妆品</h1><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><p>大宝</p><aname="3F"></a><h1>母婴产品</h1><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><p>奶粉</p><aname="4F"></a><h1>图书</h1><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><p>thinking in java</p><ahref="#1F">手机</a><ahref="#2F">化妆品</a><ahref="#3F">母婴产品</a><ahref="#4F">书籍</a></body></html>
不同页面利用锚点:
<!DOCTYPE html><html><head><metacharset="UTF-8"><title></title></head><body><ahref="设置锚点.html#3F">超链接</a></body></html>