リンクボタン
<a href=”#work”>仕事</a>
アンカー
<a name=”work” id=”work”></a>
アンカーの設置場所は、対象のタグの外側の直前につける
例)対象(h2タグ)の外側の直前につけている
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
<a name=”work” id=”work”></a>
<h2 class=”contentTitle”>仕事</h2>
<p>テキストテキストテキストテキストテキスト</p>
<p>テキストテキストテキストテキストテキスト</p>
<p>テキストテキストテキストテキストテキスト</p>
<a name=”study” id=”study”></a>
<h2 class=”contentTitle”>勉強</h2>
<p>テキストテキストテキストテキストテキスト</p>
<p>テキストテキストテキストテキストテキスト</p>
<p>テキストテキストテキストテキストテキスト</p>
↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
この記事を書いた人
新着記事
- 2015.11.27Illustrator[Mac]IllustratorのカラーモードをRGBへ変更する方法
- 2015.11.27IllustratorIllustratorのカラーモードをRGBへ変更する方法
- 2015.11.26Illustrator[Mac]IllustratorのカラーモードをCMYKへ変更する方法
- 2015.11.25IllustratorIllustratorのカラーモードをCMYKへ変更する方法