W3C home > Mailing lists > Public > www-validator@w3.org > February 2002

Head section 'not open'

From: Paul Wicks <Paul.Wicks@ilt.ac.uk>
Date: Wed, 27 Feb 2002 09:38:14 -0000
Message-Id: <DBFDC973371FD311AF5700508B44022E82E084@ILTYOEX01>
To: "'www-validator@w3.org'" <www-validator@w3.org>
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. Is this a bug
in the validator, or can I not have a document that is both compatible with
xhtml and html4.01?

I have also tried using <link ....></link> which validates as strict xhtml
but not as html as the validator reports that the <link> element is not
open.

Any help or suggestions appreciated.

Paul Wicks BSc(Hons), PGCE, MA
ILT Publications Officer
Direct Line: 01904 434228
Email: Paul.Wicks@ilt.ac.uk
Web: www.ilt.ac.uk
Received on Wednesday, 27 February 2002 04:45:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:00 GMT