Revision 60980 of :link

  • Revision slug: CSS/:link
  • Revision title: :link
  • Revision id: 60980
  • Created:
  • Creator: chevalric
  • Is current revision? No
  • Comment 2 words added, 1 words removed

Revision Content

{{ CSSRef() }}


The :link pseudo-class lets you select only links that have not yet been visited.


a:link {color:slaygrate;}
.external:link {background-color:lightblue;}


Browser compatibility

{{ CompatibilityTable() }}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 1 {{ CompatGeckoDesktop("1") }} 4.0 3.5 1.0
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support 1.5 {{ CompatGeckoMobile("1.9.2") }} {{ CompatUnknown() }} {{ CompatUnknown() }} 3.2

Revision Source

<p>{{ CSSRef() }}</p>
<p>The :link pseudo-class lets you select only links that have not yet been visited.</p>
<pre>a:link {color:slaygrate;}
.external:link {background-color:lightblue;}</pre>
<h3 class="editable"><span>Specifications</span></h3>
<ul> <li><a class="external" href="" title="">CSS 2.1 Selectors #link</a></li> <li><a class="external" href="" rel="external nofollow" target="_blank" title="">CSS 3 Selectors #links</a></li>
<h3 name="Browser_compatibility">Browser compatibility</h3>
<p>{{ CompatibilityTable() }}</p>
<div id="compat-desktop"> <table class="compat-table"> <tbody> <tr> <th>Feature</th> <th>Chrome</th> <th>Firefox (Gecko)</th> <th>Internet Explorer</th> <th>Opera</th> <th>Safari</th> </tr> <tr> <td>Basic support</td> <td>1</td> <td>{{ CompatGeckoDesktop("1") }}</td> <td>4.0</td> <td>3.5</td> <td>1.0</td> </tr> </tbody> </table>
<div id="compat-mobile"> <table class="compat-table"> <tbody> <tr> <th>Feature</th> <th>Android</th> <th>Firefox Mobile (Gecko)</th> <th>IE Mobile</th> <th>Opera Mobile</th> <th>Safari Mobile</th> </tr> <tr> <td>Basic support</td> <td>1.5</td> <td>{{ CompatGeckoMobile("1.9.2") }}</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> <td>3.2</td> </tr> </tbody> </table>
Revert to this revision