title: Fixing W3C errors, trying to make website 100% error free
body: <p>I have just tested my website using the HTML W3C validation service and have received multiple unexpected errors which I am unsure of. I would like to have my page 100% error free and for it to pass the test.</p>
  
  <p>Could you please help me on fixing these errors if you know what they are, as I have no idea that they mean.</p>
  
  <p>1.0 Element a not allowed as child of element ul in this context. (Suppressing further errors from this subtree.)</p>
  
  <pre><code>&lt;a href="#home" id="sTop" class="subNavBtn"&gt;Home&lt;/a&gt; 
  </code></pre>
  
  <p>2.0 End tag div seen, but there were open elements.</p>
  
  <pre><code>&lt;img src="images/smalllogo.png" id="smalllogo"&gt;&lt;/div&gt;   
  </code></pre>
  
  <p>3.0 Element li not allowed as child of element div in this context. (Suppressing further errors from this subtree.)</p>
  
  <pre><code> &lt;li class="nav-dots"&gt;
  </code></pre>
  
  <p>4.0 Duplicate ID row.</p>
  
  <pre><code>&lt;img src="images/imagepage/200x2001.jpg" id="row"&gt; 
  </code></pre>
  
  <p>I thought i was allowed to have multiple images with the same ID ?? </p>
  
  <p>5.0 The for attribute of the label element must refer to a form control.</p>
  
  <pre><code>&lt;label for="img-6" class="prev"&gt;&amp;#x2039;&lt;/label&gt;
  </code></pre>