[html5] r4765 - [e] (0) tweak an example to use footer instead of header Fixing http://www.w3.or [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Feb 17 15:07:12 PST 2010
Author: ianh
Date: 2010-02-17 15:07:11 -0800 (Wed, 17 Feb 2010)
New Revision: 4765
Modified:
complete.html
index
source
Log:
[e] (0) tweak an example to use footer instead of header
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8959
Modified: complete.html
===================================================================
--- complete.html 2010-02-17 22:54:43 UTC (rev 4764)
+++ complete.html 2010-02-17 23:07:11 UTC (rev 4765)
@@ -13906,22 +13906,29 @@
<section>
<h1>Comments</h1>
<article>
- <header>
+ <footer>
<p>Posted by: George Washington</p>
<p><time pubdate datetime="2009-10-10T19:10-08:00"></time></p>
- </header>
+ </footer>
<p>Yeah! Especially when talking about your lobbyist friends!</p>
</article>
<article>
- <header>
+ <footer>
<p>Posted by: George Hammond</p>
<p><time pubdate datetime="2009-10-10T19:15-08:00"></time></p>
- </header>
+ </footer>
<p>Hey, you have the same first name as me.</p>
</article>
</section>
</article></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>
Modified: index
===================================================================
--- index 2010-02-17 22:54:43 UTC (rev 4764)
+++ index 2010-02-17 23:07:11 UTC (rev 4765)
@@ -13805,22 +13805,29 @@
<section>
<h1>Comments</h1>
<article>
- <header>
+ <footer>
<p>Posted by: George Washington</p>
<p><time pubdate datetime="2009-10-10T19:10-08:00"></time></p>
- </header>
+ </footer>
<p>Yeah! Especially when talking about your lobbyist friends!</p>
</article>
<article>
- <header>
+ <footer>
<p>Posted by: George Hammond</p>
<p><time pubdate datetime="2009-10-10T19:15-08:00"></time></p>
- </header>
+ </footer>
<p>Hey, you have the same first name as me.</p>
</article>
</section>
</article></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>
Modified: source
===================================================================
--- source 2010-02-17 22:54:43 UTC (rev 4764)
+++ source 2010-02-17 23:07:11 UTC (rev 4765)
@@ -14650,22 +14650,29 @@
<section>
<h1>Comments</h1>
<article>
- <header>
+ <footer>
<p>Posted by: George Washington</p>
<p><time pubdate datetime="2009-10-10T19:10-08:00"></time></p>
- </header>
+ </footer>
<p>Yeah! Especially when talking about your lobbyist friends!</p>
</article>
<article>
- <header>
+ <footer>
<p>Posted by: George Hammond</p>
<p><time pubdate datetime="2009-10-10T19:15-08:00"></time></p>
- </header>
+ </footer>
<p>Hey, you have the same first name as me.</p>
</article>
</section>
</article></pre>
+ <p>Notice the use of <code>footer</code> to give the information
+ each comment (such as who wrote it and when): the
+ <code>footer</code> element <em>can</em> appear at the start of its
+ section when appropriate, such as in this case. (Using
+ <code>header</code> in this case wouldn't be wrong either; it's
+ mostly a matter of authoring preference.)</p>
+
</div>
More information about the Commit-Watchers
mailing list