: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() }}

Summary

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

Examples

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

Specifications

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>
<h3>Summary</h3>
<p>The :link pseudo-class lets you select only links that have not yet been visited.</p>
<h3>Examples</h3>
<pre>a:link {color:slaygrate;}
.external:link {background-color:lightblue;}</pre>
<h3 class="editable"><span>Specifications</span></h3>
<ul> <li><a class="external" href="http://www.w3.org/TR/CSS21/selector.html#link-pseudo-classes" title="http://www.w3.org/TR/CSS21/selector.html#link-pseudo-classes">CSS 2.1 Selectors #link</a></li> <li><a class="external" href="http://www.w3.org/TR/css3-selectors/#link" rel="external nofollow" target="_blank" title="http://www.w3.org/TR/css3-selectors/#link">CSS 3 Selectors #links</a></li>
</ul>
<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>
<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>
</div>
Revert to this revision