472,782 Members | 1,191 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,782 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 1292
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Zhang Weiwu | last post by:
Hello. I just read a article "rdf in html: approaches" at "http://infomesh.net/2002/rdfinhtml" (guided by google). Looking into the "Embed XML RDF Part II: Embrace Validation" part, there are an...
87
by: CMAR | last post by:
For xhtml validatin, which is the right metatag to use for English language or can one forget about this tag? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta...
47
by: Chuck | last post by:
Is there any logical reason why one should convert if css is already being used? What possible, immediate, benefit would there be? I am at a loss to see what, pragmatic, difference it would make.
4
by: Arthur Dent | last post by:
Hello all, ive been programming with ASP.NET since it came out, but am just getting my feet with now with v.2. Ive noticed something strange in the way my HTML tables get rendered with 2. I use...
5
by: Rob Roberts | last post by:
Is there any way to change VS2005 to generate HTML 4.01/Strict instead of XHTML 1.0/Transititional? VS2005 puts a DOCTYPE statement specifying XHTML 1.0/Transitional at the top of every new aspx...
8
by: Fred Mertz | last post by:
So I have a non trivial ASP.NET 1.1 Web Application with custom controls emitting HTML markup and good deal of static HTML in the aspx pages. I'm wanting to make this thing fully XHTML 1.0...
6
by: Rolf Welskes | last post by:
Hello, if I have for example: <table style="width: 100%; height: 100%;" border="1"> <tr> <td style="width: 100px">k </td> <td style="width: 100px">k </td> </tr>
10
by: git | last post by:
All, I have been working on a system to support the 'tidy' program to help convert html to xhtml. The system is a little complex for me to put together as it involves apache/php/linux and a...
26
by: webrod | last post by:
Hi, I have some php pages with a lot of HTML code. I am looking for a HTML validator tool (like TIDY). TIDY is not good enough with PHP tags (it removes a lot of php code). Do you have any...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
How does React native implement an English player?
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.