Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Заголовок документа</title> <style> p { font-size: 20px; } /* unvisited link */ a:link { color: #ccc; } /* visited link */ a:visited { color: #1c87c9; } /* mouse over link */ a:hover { color: #8ebf42; } /* selected link */ a:active { color: #666; } </style> </head> <body> <h2>Пример селектора :link</h2> <p>Visit our <a href="https://www.w3docs.com/">website</a>. </p> </body> </html>