Re: [Suggestion] Wrong environment variable specified when validating ($_SERVER['http-accept])

On Mon, 5 Nov 2007, David Coll wrote:

> IE doesn't understand xhtml, it's not a fraud to declare the document for him
> as text/html because it IS IE that is "in fault".

What you do is essentially:

- Send "EMBED" to the browser,

- Send "OBJECT" to the validator,

- Scream "Valid HTML!"

If you want to suit Internet Explorer, then use an "extension"
like  .x.html .


Still better: Write HTML 4 Strict.

Received on Tuesday, 6 November 2007 16:03:33 UTC