- From: Robert T Wyatt <robert@ccwf.cc.utexas.edu>
- Date: Tue, 15 May 2007 10:20:09 -0500
- CC: www-validator@w3.org
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> There's no reason why this should not work unless you have some sort of zero-width characters hidden in the declaration. Andreas Prilop wrote: > On Tue, 15 May 2007, Hamish wrote: > >> I have been trying to work out what's wrong with the following Document type >> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > > It is stupid! > If you want XHTML 1.0 (for new pages), then use XHTML 1.0 Strict. > If you need Transitional (for old pages), then stick with > HTML 4 Transitional. > > XHTML 1.0 Transitional is a clueless-indicator. > > The real difference is between "Strict" and "Transitional", > not between HTML 4 and XHTML 1.0. You should make an effort > to write "Strict" pages: HTML 4 Strict or XHTML 1.0 Strict. >
Received on Wednesday, 16 May 2007 03:12:46 UTC