Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

link

The link pseudo-classes link selector will target all links that have not been visited yet.
Syntax Logica:link { property_list }

CSS Code Example

<style> a:link { color: blue; } a:visited { color: grey; } </style> <ul> <li><a href="lib/HTML">HTML Library</a></li> <li><a href="lib/CSS">CSS Library</a></li> <li><a href="lib/JavaScript">JavaScript Library</a></li> </ul>

CSS

Selectors

universaltypecompoundclassidnotattributedescendantchildadjacent siblinggeneral siblingfirst childlast childonly childfirst of typelast of typeonly of typenth childnth last childnth of typenth last of typeemptyrootfirst linefirst letterbeforeafterlinkvisitedhoveractivefocustargetenableddisabledcheckedlang