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

hixie: tweak an example to use footer instead of header (whatwg r4765)

From: poot <cvsmail@w3.org>
Date: Thu, 18 Feb 2010 08:07:34 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100217230735.3B2DF2BCD0@toro.w3.mag.keio.ac.jp>
hixie: tweak an example to use footer instead of header (whatwg r4765)


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;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;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;
+   <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:08:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:17 GMT