title: The link in <a> are not being styled as preferred, what's wrong in this html code?
body: <p>The links in <code>&lt;ul&gt;</code> should be styled as ruled out in the <code>&lt;style&gt;</code>, but it is not working and the links are shown in the default way.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>header {
    text-align: center;
    border: 5px solid yellow;
    background-color: pink;
    font-family: cursive;
    margin: 5px;
  }
  
  a:link a:visited {
    text-decoration: none;
    font-size: 40px;
    background-color: turquoise;
    color: red;
    border: 2px solid tomato;
    margin: 5px;
    font-weight: bold;
    font-style: italic;
    font-family: cursive;
  }
  
  a:hover {
    background-color: orange;
    color: green;
    border: 3px solid tomato;
  }
  
  a:active {
    background-color: green;
    border: 10px solid tomato;
    color: blue;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;header&gt;HTML OMG&lt;/header&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;a href="www.google.co.in" title="Link to Google" target="_blank"&gt;Google&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="www.facebook.com" title="Link to Facebook" target="_blank"&gt;Facebook&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="www.instagram.com" title="Link to Instagram" target="_blank"&gt;Instagram&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="www.youtube.com" title="Link to Youtube" target="_blank"&gt;Youtube&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="www.twitter.com" title="Link to Twitter" target="_blank"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>I checked the CSS is correct, but the output is something like this - <a href="https://i.stack.imgur.com/B5MkY.png" rel="nofollow noreferrer">https://i.stack.imgur.com/B5MkY.png</a>
  I am new to HTML CSS so it is confusing me a lot.</p>