html5.html 15 KB
<?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='' />
    <meta name="description" content="It's been a long time coming. Either 10 months (if you count back to when the current W3C HTML Working Group was chartered) or 10 years (if you consider when the HTML 4.0 Recommendation was published. Or maybe just 4..." />
    <meta name="revision" content="$Id: html5.html,v 1.57 2011/12/16 03:02:39 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>www.w3.org/TR/html5 - W3C Blog</title>

   <link rel="start" href="http://www.w3.org/QA/" title="Home" />
   <link rel="prev" href="http://www.w3.org/QA/2008/01/ie8-versioning-mechanism.html" title="IE8 and opt-in versioning mechanism" />
   <link rel="next" href="http://www.w3.org/QA/2008/01/ie8_versioning_snowstorm.html" title="IE8 versioning snowstorm" />

   <!--
<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/01/html5.html"
    trackback:ping="http://www.w3.org/QA/sununga/mt-tb.cgi/132"
    dc:title="www.w3.org/TR/html5"
    dc:identifier="http://www.w3.org/QA/2008/01/html5.html"
    dc:subject="HTML"
    dc:description="It&apos;s been a long time coming. Either 10 months (if you count back to when the current W3C HTML Working Group was chartered) or 10 years (if you consider when the HTML 4.0 Recommendation was published. Or maybe just 4..."
    dc:creator="Michael(tm) Smith"
    dc:date="2008-01-22T15:10:47+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/01/ie8-versioning-mechanism.html">&laquo; IE8 and opt-in versioning mechanism</a> |
                        <a href="http://www.w3.org/QA/">Main</a>
                        | <a href="http://www.w3.org/QA/2008/01/ie8_versioning_snowstorm.html">IE8 versioning snowstorm &raquo;</a>
                     </p>

                        <h2 class="entry-header">www.w3.org/TR/html5</h2>
                           <div class="entry-body">
                              <p>It's been a long time coming. Either 10 months (if you count back to when the current W3C HTML Working Group was <a href="http://www.w3.org/2007/03/HTML-WG-charter.html">chartered</a>) or 10 years (if you consider when the <a href="http://www.w3.org/TR/REC-html40-971218/">HTML 4.0</a> Recommendation was published. Or maybe just 4 years (when Ian Hickson first <a href="http://ln.hixie.ch/?start=1074466808&count=1">blogged about</a> developing a spec for a "Web Applications Language".</p>

<p>Anyway, today we (the W3C and the W3C HTML Working Group) published a First Public Working Draft of the <a href="http://www.w3.org/TR/html5/">HTML5 specification</a>. I lack the time right now to say much more about it (it's either very late or very early here in Tokyo now), but to set a bit of context for this milestone, for now I just want to list of few random words and phrases and names from the months and years that have led up to it:</p>

<blockquote><i>Cougar, validation, weblog, XML, draconian error handling, Mozilla, CSS, PHP, doctype switching, Google, collective wisdom of the Web, NGLayout, Gecko, XmlHttpRequest, Microsoft Internet Explorer, RSS, RFC 2616 (HTTP 1.1), Lars Knoll, KHTML, WebKit, ECMAScript 3rd Edition, feeds, XHTML, David Baron, Steven Pemberton, SVG, David Hyatt, Mark Pilgrim, HLink, Daniel Glazman, Jeffrey Zeldman, Safari, Wordpress, Atom, XForms, Apple, Opera, Web Forms 2.0, Flickr, Presto, whatwg.org, Gmail, backwards compatibility, error handling, Google Maps, Ajax, Web 2.0, canvas, video, Gears</i></blockquote>

<p>I guess that's enough words for now.</p>
                           </div>
                           <div id="more" class="entry-more">
                              
                           </div>
                       <p class="postinfo">Filed by <a href="">Michael(tm) Smith</a> on January 22, 2008  3:10 PM in <a href="http://www.w3.org/QA/archive/technology/html/">HTML</a><br />
<span class="separator">|</span> <a class="permalink" href="http://www.w3.org/QA/2008/01/html5.html">Permalink</a>
                                 | <a href="http://www.w3.org/QA/2008/01/html5.html#comments">Comments (5)</a>
                                 | <a href="http://www.w3.org/QA/2008/01/html5.html#trackback">TrackBacks (0)</a>
</p>



<h3 class="comments-header" id="comments">Comments</h3>
<div class="comment" id="comment-112059">
<p class="comment-meta" id="c112059">
<span class="comment-meta-author"><strong>david </strong></span>
<span class="comment-meta-date"><a href="#c112059">#</a> 2008-02-08</span>
</p>
<div class="comment-bulk">
<p>I'm sorry I'm neither very good at speaking the English language, nor I'm experienced in mailing lists. Anyway, I would like to ask one question about the HTML 5 draft: The XHTML 2 Working Group planned to put the content of the meta element into itself instead of into the content attribute, which I think really makes sense. Unfortunately, the HTML 5 draft doesn't adopt this idea. Does this decision have backwards compatibility reasons or isn't it decided finally yet?</p>

</div>
</div>


<div class="comment" id="comment-112864">
<p class="comment-meta" id="c112864">
<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="#c112864">#</a> 2008-02-12</span>
</p>
<div class="comment-bulk">
<p>Hi David,</p>

<p>Indeed, browsers for a long time now recovers invalid html. One of the recovery mechanisms is to put back the "meta" element in the head when it has been misplaced in the body. HTML 5 being designed on the current behaviour of browsers, it is not possible to put a meta element in the body, or more exactly if people do, the element will be moved to the head section (in the browser model of the document.)</p>

</div>
</div>


<div class="comment" id="comment-114447">
<p class="comment-meta" id="c114447">
<span class="comment-meta-author"><strong>david </strong></span>
<span class="comment-meta-date"><a href="#c114447">#</a> 2008-02-15</span>
</p>
<div class="comment-bulk">
<p>Thanks for your answer, Karl! Unfortunately, as I expected, my English was not good enough to communicate what I really wanted to ask for. I will try to be more precise: I think the notation &lt;meta name=&quot;asdf&quot; content=&quot;xyz&quot; /&gt; is a bit complicated. The XHTML2 WG planned to simplify the notation to &lt;meta property=&quot;asdf&quot;&gt;xyz&lt;/meta&gt;. In other words, the Content Model should be <em>( PCDATA | Text )*</em> instead of <em>Empty</em>. What I want to ask is why you don't adopt this idea to HTML5. Is it because you want to maximize the compatibility to current user agents and to pages written in earlier HTML versions?</p>

<p>And I have another, quite similar but, indeed, more important question: The XHTML2 WG also planned to set the img tag's Content Model to <em>( PCDATA | Text )*</em> in order to extend the possibilities of providing alternative content for images. In my opinion, this is a great idea that should also be adopted by HTML5. Or are there also backwards compatibility reasons prohibiting that?</p>

</div>
</div>


<div class="comment" id="comment-114893">
<p class="comment-meta" id="c114893">
<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="#c114893">#</a> 2008-02-17</span>
</p>
<div class="comment-bulk">
<p>The backward compatibility is the reason. Most of Web pages are invalid (around 95% and more). It means they do not respect any precise grammar. Very often they do not advertise the grammar they use (using a doctype at the top.) So browsers have developed techniques to recover this content. Put &lt;meta property="asdf"&gt;xyz&lt;/meta&gt; in a <a href="http://software.hixie.ch/utilities/js/live-dom-viewer/" rel="nofollow">live dom viewer</a> and see what is happening in different browsers.</p>

<pre>&lt;!DOCTYPE html&gt;
&lt;head&gt;
&lt;title&gt;boo&lt;/boo&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;meta property=&quot;asdf&quot;&gt;xyz&lt;/meta&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>

<p>This will create a specific DOM depending on the browser. In mine right now, </p>

<pre>    * DOCTYPE: html
    * HTML
          o HEAD
                + TITLE
                      # #text: boo
                + #text:
                + META property="asdf"
          o BODY
                + #text: xyz </pre>

<p>It means it puts the meta back in the head and leaves the text in the body, which was not the intent of the author. So not possible to adopt in HTML 5.</p>

</div>
</div>


<div class="comment" id="comment-116872">
<p class="comment-meta" id="c116872">
<span class="comment-meta-author"><strong>david </strong></span>
<span class="comment-meta-date"><a href="#c116872">#</a> 2008-02-20</span>
</p>
<div class="comment-bulk">
<p>Ah, I think now I see what you mean. Quite sad (especially the thing with the alternative (X)HTML for images as child of theirselves), but I fully understand your view. So again, Karl, many thanks for your help! I really appreciate it!
(Oh, and by the way: I really like your <a href="http://www.w3.org/2008/xml10/" rel="nofollow">XML 10 design</a>, especially the header and the footer. Really good work!)</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="142" />
<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:02:39 $</p> 

      </div><!-- End of "main" DIV. -->

<address>

This blog is written by W3C staff and working group participants,<br />
&nbsp;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> &copy; 1994-2011
      <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a>&reg;
      (<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>