Kirk Evans Blog

.NET From a Markup Perspective

Valid XHTML From ASP.NET

Valid XHTML From ASP.NET

  • Comments 2

I decided that the new site I am developing should be checked to conform to the W3C CSS and XHTML recommendations.  So, I created a few pages in ASP.NET, pulled up the HTML validator before publishing, and...

This page is not Valid XHTML 1.0 Strict!

A quick Google search yielded a very well-laid out article on creating XHTML from ASP.NET, by Kevin Brown.  It uses a similar approach to Paul Wilson's Page Template Generator, creating a new custom base class for the page to gain control of the rendering process.

Page 1 of 1 (2 items)
Leave a Comment
  • Please add 1 and 7 and type the answer here:
  • Post
Translate This Page
Search
Archive
Archives