link (:link)

The :link CSS pseudo-class lets you select links inside elements. This will select any link, even those already styled using selector with other link-related pseudo-classes like :hover, :active or :visited. In order to style only non-visited links, you need to put the :link rule before the other ones, as defined by the LVHA-order: :link — :visited — :hover — :active.


<!DOCTYPE html>
            a:link {
            } .external:link {
                background-color: lightblue;
    	<a href="#" >Click This</a>

You may also like...