html_5_the_markup.html
28.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="all">
@import "/QA/2006/01/blogstyle.css";
</style>
<meta name="keywords" content='authoring, html, html5, markup, specification' />
<meta name="description" content="People interested only the html 5 content model were not satisfied with the huge html 5 specification. Discover html 5, the markup language." />
<meta name="revision" content="$Id: html_5_the_markup.html,v 1.56 2011/12/16 03:03:08 gerald Exp $" />
<link rel="alternate" type="application/atom+xml" title="Atom" href="http://www.w3.org/QA/atom.xml" />
<link rel="alternate" type="application/rss+xml" title="RSS 1.0" href="http://www.w3.org/QA/news.rss" />
<title>HTML 5, the markup - W3C Blog</title>
<link rel="start" href="http://www.w3.org/QA/" title="Home" />
<link rel="prev" href="http://www.w3.org/QA/2008/11/svg-wireframe-webdesin.html" title="SVG Wireframe For Your Website Design" />
<link rel="next" href="http://www.w3.org/QA/2008/11/html5-howto.html" title="Learn How To Write HTML 5" />
<!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<rdf:Description
rdf:about="http://www.w3.org/QA/2008/11/html_5_the_markup.html"
trackback:ping="http://www.w3.org/QA/sununga/mt-tb.cgi/238"
dc:title="HTML 5, the markup"
dc:identifier="http://www.w3.org/QA/2008/11/html_5_the_markup.html"
dc:subject="HTML"
dc:description="People interested only the html 5 content model were not satisfied with the huge html 5 specification. Discover html 5, the markup language."
dc:creator="Karl Dubost"
dc:date="2008-11-14T03:01:22+00:00" />
</rdf:RDF>
-->
<!-- <script type="text/javascript" src="http://www.w3.org/QA/mt.js"></script>-->
</head>
<body class="layout-one-column">
<div id="banner">
<h1 id="title">
<a href="http://www.w3.org/"><img height="48" alt="W3C" id="logo" src="http://www.w3.org/Icons/WWW/w3c_home_nb" /></a>
W3C Blog
</h1>
</div>
<ul class="navbar" id="menu">
<li><strong><a href="/QA/" title="W3C Blog Home">[ W3C Blog ]</a></strong></li>
<li><a href="/QA/Library/" title="Documents and Publications on Web and Quality">Documents</a></li>
<li><a href="/QA/Tools/" accesskey="3" title="Validators and other Tools">Tools</a></li>
<li><a href="/2007/12/qa-blog-help/index#feedback">Feedback</a></li>
</ul>
<div id="searchbox">
<form method="get" action="http://www.google.com/custom" enctype="application/x-www-form-urlencoded">
<p id="formbox"><input type="text" size="15" class="textfield" name="q" accesskey="E" maxlength="255" /> <input type="submit" class="submitfield" value="Search" id="goButton" name="sa" accesskey="G" /> <input type="hidden" name="cof" value="T:black;LW:72;ALC:#ff3300;L:http://www.w3.org/Icons/w3c_home;LC:#000099;LH:48;BGC:white;AH:left;VLC:#660066;GL:0;AWFID:0b9847e42caf283e;" /><input type="hidden" id="searchW3C" name="sitesearch" checked="checked" value="www.w3.org/QA" /><input type="hidden" name="domains" value="www.w3.org/QA" /></p>
</form>
</div>
<div id="main"><!-- This DIV encapsulates everything in this page - necessary for the positioning -->
<p class="content-nav">
<a href="http://www.w3.org/QA/2008/11/svg-wireframe-webdesin.html">« SVG Wireframe For Your Website Design</a> |
<a href="http://www.w3.org/QA/">Main</a>
| <a href="http://www.w3.org/QA/2008/11/html5-howto.html">Learn How To Write HTML 5 »</a>
</p>
<h2 class="entry-header">HTML 5, the markup</h2>
<div class="entry-body">
<p>HTML 5 is a giant specification. It contains things related to the content model, the APIs, the DOM, the parsing algorithm, etc. We received many comments that it was very hard to read for simple implementers and documentation writers who would like to better understand how html 5 documents are written.</p>
<p>Discover the editor's draft of <a href="http://www.w3.org/html/wg/markup-spec/">HTML 5: The Markup Language</a>! <a href="http://people.w3.org/mike/">Mike Smith</a> has extracted the parts of HTML 5 related to the <strong>content model</strong>. This document is aimed at people who would like to focus on the content model, be reviewers, authoring tools implementers, documentation writers.</p>
<p>We hope that it will help everyone to have a better understanding of html 5 content model. An additional document should be provided in the future for learning about html 5 with the name Web Authoring Guidelines.</p>
</div>
<div id="more" class="entry-more">
</div>
<p class="postinfo">Filed by <a href="http://www.w3.org/People/karl/">Karl Dubost</a> on November 14, 2008 3:01 AM in <a href="http://www.w3.org/QA/archive/technology/html/">HTML</a>, <a href="http://www.w3.org/QA/archive/web_spotting/reference/">Reference</a>, <a href="http://www.w3.org/QA/archive/w3cqa_news/technology_101/">Technology 101</a><br />
<span class="separator">|</span> <a class="permalink" href="http://www.w3.org/QA/2008/11/html_5_the_markup.html">Permalink</a>
| <a href="http://www.w3.org/QA/2008/11/html_5_the_markup.html#comments">Comments (16)</a>
| <a href="http://www.w3.org/QA/2008/11/html_5_the_markup.html#trackback">TrackBacks (0)</a>
</p>
<h3 class="comments-header" id="comments">Comments</h3>
<div class="comment" id="comment-168669">
<p class="comment-meta" id="c168669">
<span class="comment-meta-author"><strong>IrnBru001 </strong></span>
<span class="comment-meta-date"><a href="#c168669">#</a> 2008-11-14</span>
</p>
<div class="comment-bulk">
<p>I don't understand why some of this stuff is in HTML5. I try to be a code conscious web developer but a lot of what is in the HTML5 spec seems to fly in the face of everything I've understood about 'clean code'. For example why does the spec allow for the html tag to be omitted? Or why are attribute values allowed to be unquoted? I thought XHTML was to help us move away from these 'sloppy' omissions but now there is a new version of HTML that says it's ok. </p>
<p>Why isn't this moving towards what as been for years now popularly considered, 'coding the right way'? Are there reasons that necessitate the omission of an html tag or unquoted attribute values? If it is never necessitated why is it allowed? </p>
<p>I hope the reason is something I've not thought of and not the only thing I have thought of... which is some strange understanding of backwards compatibility.</p>
<p>Is there a document that explains the 'philosophical' reason for these decisions? </p>
</div>
</div>
<div class="comment" id="comment-168675">
<p class="comment-meta" id="c168675">
<span class="comment-meta-author"><strong>Karl Dubost <a class="commenter-profile" href="http://www.w3.org/People/karl/"><img alt="Author Profile Page" src="http://www.w3.org/QA/sununga/mt-static/images/comment/mt_logo.png" width="16" height="16" /></a></strong></span>
<span class="comment-meta-date"><a href="#c168675">#</a> 2008-11-14</span>
</p>
<div class="comment-bulk">
<p>Because it is what browsers <em>actually</em> do. </p>
<p>That said, nothing forbids you to have a stricter syntax for writing html 5 (as html or as xml). I will have more time in december about this specific topic as I mentioned above (Web Authoring Guidelines). </p>
<p>So keep your coding practices as you have done for a while now. That is good, easier to read for most people, easier to teach. close your elements, keep your double quotes. </p>
</div>
</div>
<div class="comment" id="comment-168696">
<p class="comment-meta" id="c168696">
<span class="comment-meta-author"><strong>Kornel </strong></span>
<span class="comment-meta-date"><a href="#c168696">#</a> 2008-11-14</span>
</p>
<div class="comment-bulk">
<p>@IrnBru001: HTML4 and earlier allow omission of <html>, <body> and a few other tags too. It's not the same as sloppy coding and omitting, e.g. </div>. Parsing clearly defines which elements are optional and when they can be omitted. Whether you'll insert them or not, browser will parse the document exactly the same way. Same goes for quotes – you can omit them if value is limited to certain safe characters and there's absolutely no ambiguity there.</p>
</div>
</div>
<div class="comment" id="comment-168895">
<p class="comment-meta" id="c168895">
<span class="comment-meta-author"><strong>Jarvklo </strong></span>
<span class="comment-meta-date"><a href="#c168895">#</a> 2008-11-16</span>
</p>
<div class="comment-bulk">
<p>@Kornel and Karl</p>
<p>IMHO IrnBru001 made some valid points.</p>
<p>As good as some of the new stuff in HTML5 promises to be, the optional tags issue also complicates stuff that was made simple <em>several</em> years ago.</p>
<p>Example - the HTML element.</p>
<p><em>HTML4</em>: "In some elements the HTML start- and/or end- tag are optional"
(expressed in the DTDs as eg.</p>
<pre><!ELEMENT HTML O O (%html.content;) -- document root element -->
</pre>
<p>for the HTML element)</p>
<p><em>XHTML1</em>: "Start- and end tags are required for all non-empty elements"</p>
<p><em>HTML5</em>: One section in <a href="http://www.w3.org/html/wg/markup-spec/#omittable-tags" rel="nofollow">http://www.w3.org/html/wg/markup-spec/#omittable-tags</a> full of special treatment cases to memorize for anyone interested in learning HTML5 thoroughly...</p>
<p>Eg. - the optional tagging of the body element is described as:</p>
<blockquote>
<p>An html element's start tag may be omitted if the first thing inside
the html element is not a comment.
An html element's end tag may be omitted if the html element is not immediately
followed by a comment and the element contains a body element that is either not
empty or whose start tag has not been omitted.</p>
</blockquote>
<p>And that's just <em>one</em> element...</p>
<p>Progress?
I for one am <em>not</em> convinced when it comes to optional tags at least :P</p>
<p>"nothing forbids you to use a stricter syntax ... ..."
Clearly - but this question is more related to where you guys managed to find an actual buseiness case to motivate complicating things almost beyond recognition.</p>
<p>The principles states something about "User benefits over coder benefits over Implementor benefits - right? Iterating "Because that's what Browsers actually do" seems to hint more to benefiting the Implementors over coders or users, don't you agree?</p>
<p>"Whether you'll insert them or not, browser will parse the document exactly the same way"
Clearly - but still - going <em>backwards</em> to a more complicated model for acheiving the same thing that is already handled by the simpler and already well accepted "all non-empty elements are to be closed" principle is hardly progress - don't you agree?</p>
</div>
</div>
<div class="comment" id="comment-168898">
<p class="comment-meta" id="c168898">
<span class="comment-meta-author"><strong>Nicolas Krebs </strong></span>
<span class="comment-meta-date"><a href="#c168898">#</a> 2008-11-16</span>
</p>
<div class="comment-bulk">
<p>Please update the web page of the working group <a href="http://www.w3.org/html/wg/" rel="nofollow">http://www.w3.org/html/wg/</a> with all its draft, including "HTML 5 differences from HTML 4", HTML 5 for authors, "HTML: The Markup Language".</p>
</div>
</div>
<div class="comment" id="comment-168931">
<p class="comment-meta" id="c168931">
<span class="comment-meta-author"><strong>Karl Dubost <a class="commenter-profile" href="http://www.w3.org/People/karl/"><img alt="Author Profile Page" src="http://www.w3.org/QA/sununga/mt-static/images/comment/mt_logo.png" width="16" height="16" /></a></strong></span>
<span class="comment-meta-date"><a href="#c168931">#</a> 2008-11-17</span>
</p>
<div class="comment-bulk">
<p>Let's say it in a different way.</p>
<p>The language which is implemented and interpreted by browsers (parsers) cover a lot of different cases. They <strong>have to</strong> cover all these cases, because of what is html on the Web today. </p>
<p>Now, if we talk about Web practices, about Web coding, etc. Nobody forbids you to stick to a a very strict syntax. I do myself encourage this because indeed it is a lot easier to teach. I think it's what I will try to show into the Web Authoring Guidelines. </p>
<p>an Authoring tool implementer will have to cater with reading broken document and know how to handle them and will have to know how to save it without modifying it. Usually when a tool decided that your coding style is not the one that it should be, people become angry.</p>
<p>So yes I agree, xhtml style syntax rules are simpler, at least for me. No questions about that.</p>
</div>
</div>
<div class="comment" id="comment-168971">
<p class="comment-meta" id="c168971">
<span class="comment-meta-author"><strong>IrnBru001 </strong></span>
<span class="comment-meta-date"><a href="#c168971">#</a> 2008-11-17</span>
</p>
<div class="comment-bulk">
<p>Thanks for the response, and for tolerating this lurker. This last comment as two very interesting lines I want to highlight</p>
<blockquote><p>An Authoring tool implementer will have to cater with reading <em>broken document</em> and know how to handle them and will have to know how to save it without modifying it.</p></blockquote>
<p>That, paying close attention to my em, is kinda a tell. A 'broken document', we all 'know' it shouldn't be that way, but actually it seems that what we know is broken is actually acceptable for HTML5 (in some cases, like those we've been talking about). </p>
<blockquote><p>They have to cover all these cases, because of what is html on the Web today</p></blockquote>
<p>This was my worry. I understand a browser should tolerate it (and must), but should the spec? Isn't that what's quirksmode is for?</p>
<p>I think I may just have a different understanding of the the spec's role is. Intuitively I feel like it should be the rules for they way things should be, that a different 'spec' should be around to handle the way things are (parser implementation recommendations?). At this point it raises the question of what is "a very strict syntax", HTML5 tags etc but XHTML's syntax for the gold star?</p>
<p>Just my thoughts.</p>
</div>
</div>
<div class="comment" id="comment-168998">
<p class="comment-meta" id="c168998">
<span class="comment-meta-author"><strong>Karl Dubost <a class="commenter-profile" href="http://www.w3.org/People/karl/"><img alt="Author Profile Page" src="http://www.w3.org/QA/sununga/mt-static/images/comment/mt_logo.png" width="16" height="16" /></a></strong></span>
<span class="comment-meta-date"><a href="#c168998">#</a> 2008-11-18</span>
</p>
<div class="comment-bulk">
<p>A broken document which can be parsed following html 5 parsing algorithm is not necessary a valid (conformant) html 5 document. That is a very clear distinction. </p>
<p>The specification has more than one goal. It is here to help browsers implementers to recover broken documents (more than 90% of the Web). </p>
<p>On the other side HTML 5 has a stricter content model than html 4 with the same liberal syntax. For example, the center element is gone. The align attribute is gone. If a big enough community of authors, Web designers, and authoring tools <strong>implementers</strong> is pushing for a stricter syntax in writing documents, and actually implementing these requirements, then you will get what you would like. </p>
<p>In the meantime the specification, as I said above, doesn't forbid you a strict syntax with closing elements and double quotes around attributes. </p>
</div>
</div>
<div class="comment" id="comment-169067">
<p class="comment-meta" id="c169067">
<span class="comment-meta-author"><strong>Olaf </strong></span>
<span class="comment-meta-date"><a href="#c169067">#</a> 2008-11-20</span>
</p>
<div class="comment-bulk">
<p>Maybe the XHTML2 draft is more in the direction of some progress interesting for
authors, 'HTML5' seems to be more interesting only for implementors to learn how
to present broken documents and many other things not very interesting for
document authors. </p>
<p>On the other hand, 'HTML5' provides a few new elements with a semantical meaning, the XHTML2 draft does not have yet - personally I think, there is a lot of space
for improvements and new elements with semantical meanings more interesting for
authors than rules how to fix broken documents. If we compare the semantical poor
(X)HTML with other languages caring about text markup too like DAISY, DocBook,
FictionBook, LML, we can see, how impressive expressive markup language for text
can be, why not (X)HTML? This might get pretty interesting combined with the
RDFa+XHTML approach and maybe the idea of metadata for each element and switch
as available in SVG and SMIL - after ten years since HTML4 it is time for a change,
for some progress. There should be much more than fixing broken documents in
HTML5 and it should be obviously simple enough and understandable, what is intended
for authors, to get a less amount of broken documents in the future.
I think, following 'HTML5' we will get even more broken/stupid documents around,
because the majority or authors will not understand 'HTML5' and whether they should
write broken documents now or something with a relevant semantical structure.</p>
</div>
</div>
<div class="comment" id="comment-169355">
<p class="comment-meta" id="c169355">
<span class="comment-meta-author"><strong>Olivier Wehner </strong></span>
<span class="comment-meta-date"><a href="#c169355">#</a> 2008-11-28</span>
</p>
<div class="comment-bulk">
<blockquote>Because it is what browsers actually do.</blockquote>
<p>That is not an argument.</p>
<p>It is not the function of a specification to give blessings to all the odds that have been done before.<br />
On this page we had extensive discussions on tag soup and how to cope with it, but no one ever came up with the idea that tag soup should be specified! I can hardly believe I am reading what I'm reading here.</p>
<blockquote>The specification has more than one goal. It is here to help browsers implementers to recover broken documents (more than 90% of the Web).</blockquote>
<p>
<strong>No!</strong> Most definitely no! This is exactly what the OP meant with "some strange understanding of backwards compatibility".<br />
<b>It is not the task of this working group to do the browser vendors work.</b><br />
I agree that user agents should be tolerant, but the specification MUST be strict. Otherwise it's not worth the title "specification" (nor the effort to write it). A spec must be plain, clean and, wherever possible, simple.
</p><p>
90% of the web (rather the html on it, no?) are broken? So what? That is the probleme of the authors. It may (and should) be a concern of the browser vendors. But it must not guide the development of the specification.<br />
W3C may have to catch up the <i>development</i> out there, but sure not with the quirks!
</p>
</div>
</div>
<div class="comment" id="comment-169410">
<p class="comment-meta" id="c169410">
<span class="comment-meta-author"><strong>Karl Dubost <a class="commenter-profile" href="http://www.w3.org/People/karl/"><img alt="Author Profile Page" src="http://www.w3.org/QA/sununga/mt-static/images/comment/mt_logo.png" width="16" height="16" /></a></strong></span>
<span class="comment-meta-date"><a href="#c169410">#</a> 2008-11-29</span>
</p>
<div class="comment-bulk">
<p>Class of Products is the key to your answer. When you define a technical specification, there are different categories of products using this specification. </p>
<p>For example a <strong>consumer</strong> such as a desktop browser, an html tidying library, a validator are 3 diffrent products belonging to the user agents. All of them <em>need to read</em> the content which is sent with text/html. It is called the parsing phase. There are part of one <strong>class of product</strong>.</p>
<p>Let's continue with <strong>producer</strong> such as an authoring tool (wysiwyg or text only), an html [PHP, Python, Perl, Java, …] library, a simple human. All of them <em>need to write</em> conformant html which has to be sent with text/html or with application/xhtml+xml. There are part of <strong>another</strong> class of product.</p>
<p>The html 5 specification caters for both. </p>
<p>The section 8, parsing algorithm, is dedicated on how to read the content available online to correctly read the html and the tag soup. It is the first time that it is done. Until now browsers had to create their own techniques and it led to big interoperability issues.</p>
<p>The html 5 specification also caters for the content model, what you are using for <em>writing html</em> which is not the same at all than parsing and doesn't address the same category of class of products. It happened that the html 5 content model is stricter than html 4. You MUST write a conformant html 5 document served as text/html (which is not tag soup) or a conformant html 5 document written as xml and served as application/xhtml+xml. </p>
<p>One thing which is missing is an algorithm for html tidying libraries which would help developers to write interoperable tools parsing tag soups and creating conformant html 5 markup.</p>
<p>Hope it helps to understand.</p>
</div>
</div>
<div class="comment" id="comment-169443">
<p class="comment-meta" id="c169443">
<span class="comment-meta-author"><strong>Robin Alexander </strong></span>
<span class="comment-meta-date"><a href="#c169443">#</a> 2008-11-30</span>
</p>
<div class="comment-bulk">
<p>Strongly agree with IrnBru001 and Olivier Wehner. Another aspect of this is to ease the unnecessary mental work needed to code and read code. For the web there are so many markup, scripting and programming syntax structures one needs to know, anything that makes life easier is better. And it is easier if one knows that there is one right way to do something (such as quotes around attribute values). That means I don't have to worry about it; just use the quotes. I don't have to use brain cells to wonder, "are quotes required here or not?" I find the more unnecessary choices I have, the harder it is to master the numerous syntax systems we have to learn and use. And yes, a specification should be the ideal, not just a codification of what people do, good and bad.</p>
<p>Before getting fascinated with web development I was in accounting. There is a field where the "standards" are frequently just what people were doing all along and there is no reliable theory behind them. We see the mess that's gotten us into!</p>
</div>
</div>
<div class="comment" id="comment-169471">
<p class="comment-meta" id="c169471">
<span class="comment-meta-author"><strong>somestrangeguy </strong></span>
<span class="comment-meta-date"><a href="#c169471">#</a> 2008-12-02</span>
</p>
<div class="comment-bulk">
<p>I'm wondering which version of given site will render faster in IE - v1 based on pure HTML4.01 or v2 based on pure HTML5 :)</p>
</div>
</div>
<div class="comment" id="comment-169574">
<p class="comment-meta" id="c169574">
<span class="comment-meta-author"><strong>g1smd </strong></span>
<span class="comment-meta-date"><a href="#c169574">#</a> 2008-12-06</span>
</p>
<div class="comment-bulk">
<p>A core tenet of software design has always been "be strict in what you send, and liberal in what you accept".</p>
<p>HTML 5 seems to fly in the face of that, allowing liberal variation in what is sent - seemingly even giving blessing to it.</p>
<p>Sure, the spec might hint at standard ways to recover a broken document, but it should not be encouraging the _authoring of broken documents.</p>
</div>
</div>
<div class="comment" id="comment-169706">
<p class="comment-meta" id="c169706">
<span class="comment-meta-author"><strong>karl dubost </strong></span>
<span class="comment-meta-date"><a href="#c169706">#</a> 2008-12-08</span>
</p>
<div class="comment-bulk">
<p>@g1smd You will be happy. HTML 5 specification doesn't encourage, the authoring of broken documents, see my comment above.</p>
</div>
</div>
<div class="comment" id="comment-170914">
<p class="comment-meta" id="c170914">
<span class="comment-meta-author"><strong>Henri de Solages </strong></span>
<span class="comment-meta-date"><a href="#c170914">#</a> 2008-12-27</span>
</p>
<div class="comment-bulk">
<p>Experience proves that loose standards lead to buggy implementations as well as security issues, and make implementors spend plenty of time in useless synthax exceptions rather than in more interesting new features. A serious problem to deal with is that SGML (whose HTML is an implementation) is based on tree approach, that is SINGLE-inheritance system, but this doesn't fit all documents, specially not DOUBLE-entry tables, which are intrinsecally based on double-inheritance. This is why most columns attributes defined in CSS are not inherited to cells, for instance. So rather than allowing non-closed tags etc., it'd be much more useful to define a double-steped parsing process, allowing multiple-inheritance: a first parsing to make the tree, a second one to infer multiple-inheritance from the tree.</p>
</div>
</div>
<div class="comments-open" id="comments-open">
<h3 class="comments-open-header">Leave a comment</h3>
<div class="comments-open-moderated">
<p>
Note: this blog is intended to foster <strong>polite
on-topic discussions</strong>. Comments failing these
requirements and spam will not get published. Please,
enter your real name and email address. Every
individual comment is reviewed by the W3C staff.
This may take some time, thank you for your patience.
</p>
<p>
You can use the following HTML markup (a href, b, i,
br/, p, strong, em, ul, ol, li, blockquote, pre)
and/or <a href="http://daringfireball.net/projects/markdown/syntax">Markdown syntax</a>.</p>
</div>
<div id="comments-open-data">
<form method="post" action="http://www.w3.org/QA/sununga/beach.pl" id="comments-form">
<h4>Your comment</h4>
<div id="comments-open-text">
<textarea id="comment-text" name="text" rows="20" cols="100"></textarea><br />
<label for="comment-text">Write your comment text here. Remember, keep the discussion on topic and courteous.</label>
</div>
<h4>About you</h4>
<div id="comment-form-name">
<input type="hidden" name="static" value="1" />
<input type="hidden" name="entry_id" value="590" />
<input type="hidden" name="__lang" value="en" />
<label for="comment-author">Your Name</label>
<input id="comment-author" name="author" size="30" value="" />
</div>
<div id="comment-form-email">
<label for="comment-email">Your Email Address</label>
<input id="comment-email" name="email" size="30" value="" />
</div>
<div id="comments-open-footer">
<input type="submit" accesskey="s" name="post" id="comment-submit" value="Submit" />
</div>
</form>
</div>
</div>
<p id="gentime">This page was last generated on $Date: 2011/12/16 03:03:08 $</p>
</div><!-- End of "main" DIV. -->
<address>
This blog is written by W3C staff and working group participants,<br />
and maintained by <a href="/People/CMercier/">Coralie Mercier</a>.<br />
Authorized parties may <a href="/QA/new">log in</a> to create a new entry.<br/>
<span id="poweredby">Powered by Movable Type, magpierss and a lot of Web Technology</span>
</address>
<p class="copyright">
<a rel="Copyright" href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 1994-2011
<a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a>®
(<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>,
<a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>,
<a href="http://www.keio.ac.jp/">Keio</a>),
All Rights Reserved.
W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
<a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>,
<a rel="Copyright" href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a>
and <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/copyright-software">software licensing</a>
rules apply. Your interactions with this site are in accordance
with our <a href="http://www.w3.org/Consortium/Legal/privacy-statement#Public">public</a> and
<a href="http://www.w3.org/Consortium/Legal/privacy-statement#Members">Member</a> privacy
statements.
</p>
</body>
</html>