HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
39547502[Authors] Try to clarify <footer>.2009-09-22 01:45
@@ -14431,40 +14431,45 @@ isn't his only passion. He also enjoys other pleasures.&lt;/p>
    <dt>Content model:</dt>
    <dd><span>Flow content</span>, but with no <code>header</code> or
    <code>footer</code> element descendants.</dd>
    <dt>Content attributes:</dt>
    <dd><span>Global attributes</span></dd>
    <dt>DOM interface:</dt>
    <dd>Uses <code>HTMLElement</code>.</dd>
   </dl>
 
   <p>The <code>footer</code> element <span>represents</span> a footer
-  for its nearest ancestor <span>sectioning content</span>. A footer
-  typically contains information about its section such as who wrote
-  it, links to related documents, copyright data, and the like.</p>
+  for its nearest ancestor <span>sectioning content</span> or
+  <span>sectioning root</span> element. A footer typically contains
+  information about its section such as who wrote it, links to related
+  documents, copyright data, and the like.</p>
 
   <p class="note">Contact information belongs in an
   <code>address</code> element, possibly itself inside a
   <code>footer</code>.</p>
 
-  <p>Footers don't necessarily have to appear at the end of a section,
+  <p>Footers don't necessarily have to appear at the <em>end</em> of a section,
   though they usually do.</p>
 
   <p>When the <code>footer</code> element contains entire sections,
   they <span title="represents">represent</span> appendices, indexes,
   long colophons, verbose license agreements, and other such
   content.</p>
 
   <p class="note">The <code>footer</code> element is not
   <span>sectioning content</span>; it doesn't introduce a new
   section.</p>
 
+  <p>When the nearest ancestor <span>sectioning content</span> or
+  <span>sectioning root</span> element is <span>the body
+  element</span>, then it applies to the whole page.</p>
+
   <div class="example">
 
    <p>Here is a page with two footers, one at the top and one at the
    bottom, with the same content:</p>
 
    <pre>&lt;body>
  &lt;footer>&lt;a href="../">Back to index...&lt;/a>&lt;/footer>
  &lt;hgroup>
   &lt;h1>Lorem ipsum&lt;/h1>
   &lt;h2>The ipsum of all lorems&lt;/h2>
@@ -14474,20 +14479,62 @@ isn't his only passion. He also enjoys other pleasures.&lt;/p>
  veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
  ea commodo consequat. Duis aute irure dolor in reprehenderit in
  voluptate velit esse cillum dolore eu fugiat nulla
  pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
  culpa qui officia deserunt mollit anim id est laborum.&lt;/p>
  &lt;footer>&lt;a href="../">Back to index...&lt;/a>&lt;/footer>
 &lt;/body></pre>
 
   </div>
 
+  <div class="example">
+
+   <p>Here is an example which shows the <code>footer</code> element
+   being used both for a site-wide footer and for a section
+   footer.</p>
+
+   <pre>&lt;!DOCTYPE HTML>
+&lt;HTML>&lt;HEAD>
+&lt;TITLE>The Ramblings of a Scientist&lt;/TITLE>
+&lt;BODY>
+&lt;H1>The Ramblings of a Scientist&lt;/H1>
+&lt;ARTICLE>
+ &lt;H1>Episode 15&lt;/H1>
+ &lt;VIDEO SRC="/fm/015.ogv" CONTROLS AUTOBUFFER>
+  &lt;P>&lt;A HREF="/fm/015.ogv">Download video&lt;/A>.&lt;/P>
+ &lt;/VIDEO>
+ &lt;FOOTER> &lt;!-- footer for article -->
+  &lt;P>Published &lt;TIME PUBDATE DATETIME="2009-10-21T18:26-07:00">&lt;/TIME>&lt;/P>
+ &lt;/FOOTER>
+&lt;/ARTICLE>
+&lt;ARTICLE>
+ &lt;H1>My Favorite Trains&lt;/H1>
+ &lt;P>I love my trains. My favorite train of all time is a K&ouml;f.&lt;/P>
+ &lt;P>It is fun to see them pull some coal cars because they look so
+ dwarfed in comparison.&lt;/P>
+ &lt;FOOTER> &lt;!-- footer for article -->
+  &lt;P>Published &lt;TIME PUBDATE DATETIME="2009-09-15T14:54-07:00">&lt;/TIME>&lt;/P>
+ &lt;/FOOTER>
+&lt;/ARTICLE>
+&lt;FOOTER> &lt;!-- site wide footer -->
+ &lt;NAV>
+  &lt;P>&lt;A HREF="/credits.html">Credits&lt;/A> &mdash;
+     &lt;A HREF="/tos.html">Terms of Service&lt;/A> &mdash;
+     &lt;A HREF="/index.html">Blog Index&lt;/A>&lt;/P>
+ &lt;/NAV>
+ &lt;P>Copyright &copy; 2009 Gordon Freeman&lt;/P>
+&lt;/FOOTER>
+&lt;/BODY>
+&lt;/HTML></pre>
+
+  </div>
+
 
   <h4>The <dfn><code>address</code></dfn> element</h4>
 
   <dl class="element">
    <dt>Categories</dt>
    <dd><span>Flow content</span>.</dd>
    <dd><span><code title="">formatBlock</code> candidate</span>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>Where <span>flow content</span> is expected.</dd>
    <dt>Content model:</dt>

|