<!DOCTYPE HTML> <html lang="en-US"> <head> <title>:visited and ::first-line (reference)</title> </head> <body> <div><span style="color: fuchsia">unvisited</span><br><span style="color: blue">link</span></div> <div><span style="color: maroon">visited</span><br><span style="color: purple">link</span></div> </body> </html>