« Return to Thread: Transitional validation Problem

Re: Transitional validation Problem

by Robert T Wyatt-2 :: Rate this Message:

Reply to Author | View in Thread


<!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.
>


 « Return to Thread: Transitional validation Problem