Re: Validation being kinda wierd...

Am 08.03.2007 um 19:53 schrieb David Dorward:

> Sierk Bornemann wrote:
>
>> Nevertheless, anybody prevents you from making your document well- 
>> formed in HTML 4.01
>
> Other then "well formedness" being a meaningless term when applied  
> to HTML

Technically spoken, yes. Aesthetically spoken and having a later  
transition to XHTML in mind, no. :-)

>> Or, if nothing speaks against it, switch to a XHTML Document Type
>
> * Internet Explorer doesn't support XHTML.

It supports it, if you follow the HTML Compatibility Guidelines of  
the XHTML 1.0 Spec on http://www.w3.org/TR/xhtml1/#guidelines.
For Internet Explorer lower/equal v6, this mainly means:

* XHTML 1.0 Doctype,
* no Processing Instruction (<?xml version="1.0"?>),
* a space before the trailing / and > of empty elements,
* document served as text/html

The bug of Internet Explorer lower v7 to switch into Quirks-Mode,  
when the Processing Instruction (PI) occurs, is fixed in Internet  
Explorer 7.

> * Pretending XHTML is HTML by serving it as text/html is an ugly  
> hack that depends on browser bugs.

See:

XHTML Media Types
http://www.w3.org/TR/xhtml-media-types/

Serving XHTML 1.0
http://www.w3.org/International/articles/serving-xhtml/

XHTML oder HTML? (german)
http://schneegans.de/web/xhtml/




Sierk
-- 
Sierk Bornemann | Germany
email:            sierkb@gmx.de
WWW:              http://sierkbornemann.de/

Received on Thursday, 8 March 2007 19:30:57 UTC