W3C home > Mailing lists > Public > www-validator@w3.org > February 2000

Re: Another try...

From: Ryan Fischer <fischer@email.unc.edu>
Date: Mon, 07 Feb 2000 16:35:20 -0500
To: "Braverman, David" <DBraverman@ingprime.com>, www-validator@w3.org
Message-id: <006e01bf71b3$3ead6960$a75cd6d8@default>
> OK, I went back to the XHTML recommendation
> and copied the example "minimally conforming" code:
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html
>      PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>     "DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

All that isn't necessary.  It's weird that the spec apparently
contradicts itself here.

Anyway, http://www.gigabee.com/ is valid XHTML 1.0 (according to the
W3C's validator), so if you look at the source code, you'll see what is
needed.  All you need is a !DOCTYPE declaration.  No URL to the DTD is
needed.  No xmlns attribute is needed.   No xml:lang or lang attribute
is needed either.  HTH!  :-)

Received on Monday, 7 February 2000 21:26:17 UTC

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