W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2001

Re: OT: XHTML 1.0 vs. HTML 4.01 in MSIE

From: Chris Croome <chris@webarchitects.co.uk>
Date: Wed, 17 Jan 2001 16:55:34 +0000
To: html-tidy@w3.org
Message-ID: <20010117165534.A25841@webarchitects.co.uk>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

On Wed 10-Jan-2001 at 08:29:25 +0100, Klaus Johannes Rusch wrote:
> 
> MSIE ignores Content-type headers and determines the content type
> "automatically".

I have found that IE4 on a Mac displays XHTML pages as plain text
even thought they are serverd as text/html _unless_ this is omitted:

<?xml version="1.0" encoding="UTF-8"?>

Also omitting this is good for Netscape 3 as it'll display it.

See:

  "XML declaration like the one above is not required"

  http://www.w3.org/TR/xhtml1/#docconf 

Chris

- -- 
Chris Croome 
http://www.webarchitects.co.uk/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6Zc5RIQYsxIuy3pERAvniAKCIsknUTmi2YHAzJR4kXdrKw5cngQCdFqcI
/ly22F1HgwGjfG+4dMo/fbg=
=DOEL
-----END PGP SIGNATURE-----
Received on Wednesday, 17 January 2001 11:55:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:45 GMT