W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2002

Re: DTD etc

From: Charles McCathieNevile <charles@w3.org>
Date: Thu, 12 Sep 2002 04:15:45 -0400 (EDT)
To: <gian@stanleymilford.com.au>
cc: <w3c-wai-ig@w3.org>, <david@djwhome.demon.co.uk>
Message-ID: <Pine.LNX.4.30.0209120408570.7358-100000@tux.w3.org>

On Thu, 12 Sep 2002 gian@stanleymilford.com.au wrote:

>Thanks... so does this mean...
>1. That if doctype isn't in the first line then there's no point it
>being there at all?

More or less. The rules that apply are those for SGML or XML depending on
whether you use HTML or XHTML (note that XML is a lot simpler than SGML).

See the HTML specification: http://www.w3.org/TR/html for the latest
(currently XHTML 1 published January 200 and revised August 2002) or

http://www.w3.org/TR/html401/ for the latest HTML specification (published
december 1999, a revision of HTML 4, originally published december 1997 and
revised april 1998).

GSW
>2. Can the lang=en be specified in the BODY tag instead of the HTML tag?

Yes. Then it is only your title any metadata that is in an unknown language.

Chaals
Received on Thursday, 12 September 2002 04:15:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:06 GMT