tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

dynamic-pseudo-classes-002.xht (890B)


      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4  <head>
      5   <title>CSS Test: Selectors: The dynamic pseudo-classes: :active</title>
      6   <link rel="author" title="Gabriele Romanato" href="mailto:gabriele.romanato@gmail.com" />
      7   <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#dynamic-pseudo-classes" />
      8   <meta name="flags" content="interact" />
      9   <meta name="assert" content="Browsers should honour the change of state in the elements"/>
     10 <style type="text/css">
     11 a:link {color: blue}
     12 a:visited {color: purple}
     13 a:active {color: green; font-weight: bold}
     14 
     15 </style>
     16  </head>
     17  <body>
     18 <p>The link in the next paragraph should have a green text color and a bold font weight when it's activated.</p>
     19 
     20 <p><a href="#">Click me</a>.</p>
     21 
     22 
     23  </body>
     24 </html>