title: How to apply css for anchor tag inside table
body: <p>i am trying to apply the css for the anchor tag which is inside the table. but i am not able to see any changes. 
   how to do this?</p>
  
  <p>code:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;style&gt;
  table.tab&gt;td&gt;a
  {
  background-color:yellow;
  }
  &lt;/style&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  &lt;table class="tab"&gt;
  &lt;tr&gt;&lt;td&gt;&lt;a href="#"&gt;google.com&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/tr&gt;&lt;/table&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>