title: a tag closing before it should
body: <p>Below is a syntax html i have written for my project. I don't think anything is wrong with my code. however browser compiles it differently.</p>
  
  <p>My code:</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-html lang-html prettyprint-override"><code>&lt;a href="#" class="m-news"&gt;
    &lt;div class="mn-title"&gt;
    &lt;/div&gt;
    &lt;div class="mn-content"&gt;
    &lt;/div&gt;
    &lt;div class="news-footer"&gt;
      &lt;a href="#"&gt;&lt;/a&gt;
    &lt;/div&gt;
  &lt;/a&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>How browser is compiling it:</p>
  
  <p></p>
  
  <p>Can anyone tell me why is this happening? I did the removing js, removing css,a nd all other possible tests.i tested in opera internet explorer chrome .</p>