css clicked link color change code example Example: link changes color after being clicked a:link, a:visited { color: red; }