title: Styling active anchor elements with css
body: <p>I have some trouble to find a css solution for having an active anchor colored...</p>
  
  <p>Why are the active anchors not red so that if clicked on "momo" momo keeps red? Or is active the wrong pseudoclass for that?</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html lang="en"&gt;
  
      &lt;head&gt;
          &lt;meta charset="utf-8" /&gt;
          &lt;title&gt;test&lt;/title&gt;
      &lt;style type="text/css"&gt;
          a:active{
          color:red;
          }
          a:hover{
          color:yellow;
          }
          &lt;/style&gt;
      &lt;/head&gt;
  
      &lt;body&gt;
      &lt;ul&gt; Navigation
      &lt;li class="subli"&gt;&lt;a href="#momo"&gt;momo&lt;/a&gt;&lt;/li&gt;
      &lt;li class="subli"&gt;&lt;a href="#ipsi"&gt;ipsi&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
      &lt;/body&gt;
  
  &lt;/html&gt; 
  </code></pre>
  
  <p>Thanks
  Juru</p>