<a href="#hoge">このリンクを踏んでURIにハッシュがつく(ターゲットされる)と</a> <div id="hoge"> このDIVの文字が赤くなるよ </div>
div:target { color : red; }