How can I get asp.net controls to generate W3c compliant html?
<p>I recently ran some of my ASP pages through "HTML Tidy" validation and found that several warnings were generated due to HTML tags not being properly formed i.e. extra closing tags.On investigation it seems that the ASP Menu control which i am using as the left navigation bar is generating this invalid HTML. It seems that the HTML for this control which Microsoft's automatically generates just isn't HTML compliant.</p>

<p>Has anyone else experienced this? </p>

<p>Does anyone know if there is any way of fixing this?</p>

<p><strong>See Warnings below</strong></p>

<pre><code>line 175 column 41 - Warning: discarding unexpected &lt;/a&gt;
line 175 column 45 - Warning: discarding unexpected &lt;/td&gt;
line 176 column 4 - Warning: discarding unexpected &lt;/tr&gt;
line 181 column 48 - Warning: missing &lt;/a&gt; before &lt;tr&gt;
line 192 column 41 - Warning: discarding unexpected &lt;/a&gt;
line 192 column 45 - Warning: discarding unexpected &lt;/td&gt;
line 193 column 4 - Warning: discarding unexpected &lt;/tr&gt;
line 198 column 48 - Warning: missing &lt;/a&gt; before &lt;tr&gt;
line 209 column 41 - Warning: discarding unexpected &lt;/a&gt;
line 209 column 45 - Warning: discarding unexpected &lt;/td&gt;
line 210 column 4 - Warning: discarding unexpected &lt;/tr&gt;
line 215 column 48 - Warning: missing &lt;/a&gt; before &lt;tr&gt;
line 226 column 41 - Warning: discarding unexpected &lt;/a&gt;
line 226 column 45 - Warning: discarding unexpected &lt;/td&gt;
line 227 column 4 - Warning: discarding unexpected &lt;/tr&gt;
line 232 column 48 - Warning: missing &lt;/a&gt; before &lt;tr&gt;
line 243 column 41 - Warning: discarding unexpected &lt;/a&gt;
line 243 column 45 - Warning: discarding unexpected &lt;/td&gt;
line 244 column 4 - Warning: discarding unexpected &lt;/tr&gt;
line 249 column 48 - Warning: missing &lt;/a&gt; before &lt;tr&gt;
line 260 column 41 - Warning: discarding unexpected &lt;/a&gt;
line 260 column 45 - Warning: discarding unexpected &lt;/td&gt;
line 261 column 4 - Warning: discarding unexpected &lt;/tr&gt;
line 266 column 48 - Warning: missing &lt;/a&gt; before &lt;tr&gt;
line 277 column 41 - Warning: discarding unexpected &lt;/a&gt;
line 277 column 45 - Warning: discarding unexpected &lt;/td&gt;
line 278 column 4 - Warning: discarding unexpected &lt;/tr&gt;
line 283 column 48 - Warning: missing &lt;/a&gt; before &lt;tr&gt;
line 294 column 41 - Warning: discarding unexpected &lt;/a&gt;
line 294 column 45 - Warning: discarding unexpected &lt;/td&gt;
line 295 column 4 - Warning: discarding unexpected &lt;/tr&gt;
line 306 column 9 - Warning: missing &lt;/span&gt; before &lt;table&gt;
</code></pre>
