W3C home > Mailing lists > Public > public-html-commits@w3.org > February 2010

html5/spec Overview.html,1.3812,1.3813

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 17 Feb 2010 23:07:20 +0000
To: public-html-commits@w3.org
Message-Id: <E1NhszI-00020h-7b@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv7713

Modified Files:
	Overview.html 
Log Message:
tweak an example to use footer instead of header (whatwg r4765)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3812
retrieving revision 1.3813
diff -u -d -r1.3812 -r1.3813
--- Overview.html	17 Feb 2010 22:54:49 -0000	1.3812
+++ Overview.html	17 Feb 2010 23:07:16 -0000	1.3813
@@ -12003,22 +12003,29 @@
  &lt;section&gt;
   &lt;h1&gt;Comments&lt;/h1&gt;
   &lt;article&gt;
-   &lt;header&gt;
+   &lt;footer&gt;
     &lt;p&gt;Posted by: George Washington&lt;/p&gt;
     &lt;p&gt;&lt;time pubdate datetime="2009-10-10T19:10-08:00"&gt;&lt;/time&gt;&lt;/p&gt;
-   &lt;/header&gt;
+   &lt;/footer&gt;
    &lt;p&gt;Yeah! Especially when talking about your lobbyist friends!&lt;/p&gt;
   &lt;/article&gt;
   &lt;article&gt;
-   &lt;header&gt;
+   &lt;footer&gt;
     &lt;p&gt;Posted by: George Hammond&lt;/p&gt;
     &lt;p&gt;&lt;time pubdate datetime="2009-10-10T19:15-08:00"&gt;&lt;/time&gt;&lt;/p&gt;
-   &lt;/header&gt;
+   &lt;/footer&gt;
    &lt;p&gt;Hey, you have the same first name as me.&lt;/p&gt;
   &lt;/article&gt;
  &lt;/section&gt;
 &lt;/article&gt;</pre>
 
+   <p>Notice the use of <code><a href="#the-footer-element">footer</a></code> to give the information
+   each comment (such as who wrote it and when): the
+   <code><a href="#the-footer-element">footer</a></code> element <em>can</em> appear at the start of its
+   section when appropriate, such as in this case. (Using
+   <code><a href="#the-header-element">header</a></code> in this case wouldn't be wrong either; it's
+   mostly a matter of authoring preference.)</p>
+
   </div><h4 id="the-aside-element"><span class="secno">4.4.5 </span>The <dfn><code>aside</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/91">ISSUE-91</a> (aside) blocks progress to Last Call</span><dl class="element"><dt>Categories</dt>
    <dd><a href="#flow-content">Flow content</a>.</dd>
    <dd><a href="#sectioning-content">Sectioning content</a>.</dd>
Received on Wednesday, 17 February 2010 23:07:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 17 February 2010 23:07:29 GMT