

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Role of CSS :link Selector
<p>Use the CSS :link selector to style all unvisited links. You can try to run the following code to implement the :link selector −</p><h2>Example</h2><p><a class="demo" href="http://tpcg.io/PeY9q5" rel="nofollow noopener noreferrer" target="_blank">Live Demo</a></p><pre class="prettyprint notranslate"><!DOCTYPE html> <html> <head> <style> a:link { background-color: orange; } </style> </head> <body> <a href="https://www.example.com">Demo Website</a><a href="https://www.example.com/" rel="nofollow" target="_blank">https://www.example.com/</a> </body> </html></pre>
- Related Questions & Answers
- Role of CSS :not (selector) Selector
- Role of CSS :focus Selector
- Role of CSS :hover Selector
- Role of CSS :active Selector
- Role of CSS :checked Selector
- Role of CSS: disabled Selector
- Role of CSS :empty Selector
- Role of CSS :enabled Selector
- Role of CSS :invalid Selector
- Role of CSS :optional Selector
- Role of CSS :required Selector
- Role of CSS :root Selector
- Role of CSS :target Selector
- Role of CSS: valid Selector
- Role of CSS :visited Selector
Advertisements