471,122 Members | 1,182 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,122 software developers and data experts.

HTML validation vs. XHTML

Hi All,

I have a question regarding validation with XHTML on ASP.Net websites.
Our site is built on ASP.NET 2.0 with validation XHTML. Search Engine
Optimizer advised us that we should change it to HTML because it causes
problems.

We can switch it to HTML validation in production only:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

But what is going to happen with out controls and will it do harm to our
website? Will we lose important features of controls and so on...?

There is no problem for us to create pages with XHTML validation and only in
production switch it to HTML, will that work or there is a compromise?

Thank you,
Tatyana

Nov 27 '06 #1
1 1229
Well, I can't say for sure without seeing the page, but I don't think
that changing from XHTML to HTML will hurt your page at all.

Tatyana wrote:
Hi All,

I have a question regarding validation with XHTML on ASP.Net websites.
Our site is built on ASP.NET 2.0 with validation XHTML. Search Engine
Optimizer advised us that we should change it to HTML because it causes
problems.

We can switch it to HTML validation in production only:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

But what is going to happen with out controls and will it do harm to our
website? Will we lose important features of controls and so on...?

There is no problem for us to create pages with XHTML validation and only in
production switch it to HTML, will that work or there is a compromise?

Thank you,
Tatyana
Nov 27 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Zhang Weiwu | last post: by
87 posts views Thread by CMAR | last post: by
47 posts views Thread by Chuck | last post: by
4 posts views Thread by Arthur Dent | last post: by
8 posts views Thread by Fred Mertz | last post: by
10 posts views Thread by git | last post: by
26 posts views Thread by webrod | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.