- 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
> OK, I went back to the XHTML recommendation (http://www.w3.org/TR/xhtml1/) > 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! :-) -Ryan
Received on Monday, 7 February 2000 21:26:17 UTC