protocol7 archive
10 July 2002

ASP.NET and the quality of the generated HTML

Been playing some with the ASP.NET web forms in Visual Studio.NET lately and I find the quality of the HTML generated from them terrible. I would expect it to, at least, produce valid XHTML (without breaking IE 5.0 support). It just seems that Microsoft were sloppy when building the HTML generator. For example, why are some empty tags closed and some are not?

And I don’t think that, for example:

are to much to ask for.

If anyone is working on subclassing the web forms to produce better output or have another solution, please tell me and I might actually find web forms okay to use some day :-)

tags: HTML/XHTML