Setting DocType in Asp.Net

K

Kenneth Keeley

Hi,
How do I set the DocType the Asp.net will use when it creates the html the
is sent to the client. I wish to create all my pages to a known standard,
mostly HTML 4.01 and I have found that Asp.Net pages don't always validate.
Is there a global setting that needs to be set or do I have to do it in
every page. I am currently using Web Matrix to create my asp.net pages while
I am learning. Is this where the problem is?

Thanks for any help
Kenneth Keeley
 
C

Cowboy \(Gregory A. Beamer\) [MVP]

Part of the problem is with .NET itself. It is rather compliant, but there
are a few places where it misses 100% compliance. This will change in 2.0,
if MS continues in the direction it is heading with VS .NET 2005.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top