<p>
<span class="link">未訪問リンク</span>
</p>
<p>
<span class="visited">訪問済みリンク</span>
</p>
span {
text-decoration: underline;
cursor: pointer;
}
.link {
color: green;
}
.visited {
color: gray;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.