W3C home > Mailing lists > Public > www-validator@w3.org > August 2001

Re: Neither!

From: Kynn Bartlett <kynn@idyllmtn.com>
Date: Thu, 16 Aug 2001 19:57:16 -0700
Message-Id: <>
To: Seething13@webtv.net ( žee†hing╣│ )
Cc: www-validator@w3.org
At 07:20 PM 8/16/2001 , žee†hing╣│ wrote:
>I do believe I am most likely missing your point Matt, as I cannot
>figure out WHY you would be adding the trailing / to all your tags if
>you are NOT wanting to convert to XHTML.

Hi, Matt, the problem is this:

You can't have something validate as both valid XHTML and valid HTML.

The two are incompatible at the validation level.  (They can be made
mostly compatible at the user agent level, because browsers are more
forgiving -- and rightly so -- than just validators.)

But it's not possible to create a document -- well, a complex document
at least -- that could validate as both XHTML and as HTML.  Which means
that you can't use XHTML in documents described as HTML, and you can't
used HTML in documents described as XHTML.

They are different standards, and you can only match one or the other
in nearly any situation you could come up with.


Kynn Bartlett  <kynn@idyllmtn.com>                http://kynn.com/
Technical Developer Liaison, Reef             http://www.reef.com/
Chief Technologist, Idyll Mountain Internet   http://idyllmtn.com/
Online Instructor, Accessible Web Design     http://kynn.com/+d201
Received on Thursday, 16 August 2001 22:58:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:31 UTC