How can i make ASP.NET generate valid XHTML 1.0 Strict?<BR>As an example:<BR>&#060;form id="Form1" method="post" runat="server"&#062;<BR>generates<BR>&#060;form name="Form1" method="post" action="WebForm1.aspx" id="Form1"&#062;<BR>There is no "name" attribute in XHTML 1.0 Strict.<BR>Also ASP.NET places &#060;span&#062; tags in places where they don&#039;t belong and many more.<BR>I have at the top of the page:<BR>&#060;?xml version="1.0" encoding="iso-8859-1" ?&#062;<BR>&#060;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ""&#062; But that doesn&#039;t help.<BR><BR>Microsoft ASP.NET generates a mixture of html 3.2, 4.0 and XHTML 1.0. Microsoft needs to be told to support clean and valid XHTML 1.0 Strict in Visual Studio .NET and the .NET Framework ASP.NET. The WebForms do not support XHTML 1.0. When I have seen this for the first time, I was disappointed. Microsoft speaks about .NET being the future of computing and how well it supports XML but the have forgot of implementing XHTML in ASP.NET.;s is an example of the html generated fy the WebForms. The DTD on defines XHTML 1.0 Strict but when you validate it with w3c&#039;s html validator you get dozens of errors.