W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2012

[whatwg] A few questions on HTML5

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 2 Feb 2012 01:28:54 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1202020126370.3868@ps20323.dreamhostps.com>
On Tue, 3 Jan 2012, Mani wrote:
> 
> I had a few quick questions on HTML5 (I have been looking at it for 
> about a month now, and I am fascinated by the possibilities).
> 
> 1. I believe HTML5 will use no DTD, is that right? So there will be 
> rules for HTML5 processors (browsers) that they should follow?

Assuming you mean for parsing purposes, the rules to follow are:

   http://whatwg.org/html#parsing


> Can you also comment as to why?? (I believe the reason is to support not 
> well-formed HTML and still not contradict other standards.??)

HTML is no longer based on SGML, so it's no longer relevant.


> 2. Will XHTML5 have a DTD, because XHTML5 must be well-formed?

You can provide DTDs if you like, but there are no formal ones. DTDs 
aren't required to define parsing rules for XML, and are insufficient to 
describe all the conformance requirements that validators are required to 
check for.

HTH,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 1 February 2012 17:28:54 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:39 UTC