ジャンプ先の要素は aタグでなくても動作します。
<a href="#(アンカーポイント名)">リンクの文字列</a>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
</head>
<body>
<a href="#section1">セクション1へ</a><br />
<a href="#section2">セクション2へ</a><br />
<a href="#section3">セクション3へ</a><br />
<hr />
<a id="section1">セクション1</a>
<div style="height:300px">コンテンツ</div>
<a id="section2">セクション2</a>
<div style="height:300px">コンテンツ</div>
<a id="section3">セクション3</a>
<div style="height:300px">コンテンツ</div>
</body>
</html>
"#(アンカーポイント名)"
を記述するとページ内のリンクとなります。遷移先は `<a id="(アンカーポイント名)"> の形式で記述します。 <a href="#section1">セクション1へ</a><br />
下記の要素の場所へページ内遷移します。 <a id="section1">セクション1</a>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
</head>
<body>
<a href="#section1">セクション1へ</a><br />
<a href="#section2">セクション2へ</a><br />
<a href="#section3">セクション3へ</a><br />
<hr />
<div id="section1">セクション1</div>
<div style="height:300px">コンテンツ</div>
<div id="section2">セクション2</div>
<div style="height:300px">コンテンツ</div>
<div id="section3">セクション3</div>
<div style="height:300px">コンテンツ</div>
</body>
</html>