Re: Head section 'not open'

Paul Wicks <Paul.Wicks@ilt.ac.uk> wrote in
news:DBFDC973371FD311AF5700508B44022E82E084@ILTYOEX01:

> If I use an xml style empty element in the head section of
> a document, i.e. <link ... /> or <meta ... /> the validator
> appears to interpret this as the end of the head section in
> an HTML 4.01 transitional document.

That's correct. You can't use / to close empty elements in HTML
4.01.

> Is this a bug in the
> validator,

No.

> or can I not have a document that is both
> compatible with xhtml and html4.01?

No, you can't. Your document must *either* be HTML 4.01 or
XHTML. (But XHTML documents will still work in browsers that
only supports HTML.)

-- 
Karl Ove Hufthammer

Received on Wednesday, 27 February 2002 06:48:16 UTC