<a href="." target="_blank">リンクを踏む前は赤。踏んだ後は緑。</a>
a:link { color : red; } a:visited { color : green; }