- From: Henri Sivonen <hsivonen@iki.fi>
- Date: Sun, 4 Sep 2005 18:03:32 +0300
On Sep 4, 2005, at 13:28, Anne van Kesteren wrote: > Quoting Henri Sivonen <hsivonen at iki.fi>: >> How should this list be augmented for HTML5? Eg. should a start tag >> for <section> close a paragraph? > > I do not think that would be a good idea. Changing the HTML parser is > not > something browser vendors tend to like. I think HTML5 should just > require end > tags in certain circumstances. Or perhaps just require them for some > elements, > like the P element. What about the interaction of <section> with <head> and <body>? How would you insert the optional tags in this case: <!DOCTYPE html> <title>...</title> <section>...</section> <div>...</div> ? My tentative assumption has been <!DOCTYPE html> <html><head><title>...</title> </head><body><section>...</section> <div>...</div></body></html> (Assuming the data stream ends with </div>.) Should the answer instead be <!DOCTYPE html> <html><head><title>...</title> <section>...</section> </head><body><div>...</div></body></html> ? -- Henri Sivonen hsivonen at iki.fi http://hsivonen.iki.fi/
Received on Sunday, 4 September 2005 08:03:32 UTC