W3C home > Mailing lists > Public > public-html-diffs@w3.org > October 2011

hixie: blockquote example with figcaption for credit (whatwg r6639)

From: poot <cvsmail@w3.org>
Date: Wed, 05 Oct 2011 18:09:27 -0400
To: public-html-diffs@w3.org
Message-Id: <E1RBZeZ-0003rN-HJ@jay.w3.org>
hixie: blockquote example with figcaption for credit (whatwg r6639)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5322&r2=1.5323&f=h
http://html5.org/tools/web-apps-tracker?from=6638&to=6639

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5322
retrieving revision 1.5323
diff -u -d -r1.5322 -r1.5323
--- Overview.html	5 Oct 2011 21:45:25 -0000	1.5322
+++ Overview.html	5 Oct 2011 22:09:14 -0000	1.5323
@@ -15372,6 +15372,30 @@
 
   </div><div class="example">
 
+   <p>Here a <code><a href="#the-blockquote-element">blockquote</a></code> element is used in conjunction
+   with a <code><a href="#the-figure-element">figure</a></code> element and its <code><a href="#the-figcaption-element">figcaption</a></code>
+   to clearly relate a quote to its attribution (which is not part of
+   the quote and therefore doesn't belong inside the
+   <code><a href="#the-blockquote-element">blockquote</a></code> itself):</p>
+
+   <pre>&lt;figure&gt;
+ &lt;blockquote&gt;
+  &lt;p&gt;The truth may be puzzling. It may take some work to grapple with.
+  It may be counterintuitive. It may contradict deeply held
+  prejudices. It may not be consonant with what we desperately want to
+  be true. But our preferences do not determine what's true. We have a
+  method, and that method helps us to reach not absolute truth, only
+  asymptotic approaches to the truth &mdash; never there, just closer
+  and closer, always finding vast new oceans of undiscovered
+  possibilities. Cleverly designed experiments are the key.&lt;/p&gt;
+ &lt;/blockquote&gt;
+ &lt;figcaption&gt;Carl Sagan, in "&lt;cite&gt;Wonder and Skepticism&lt;/cite&gt;", from
+ the &lt;cite&gt;Skeptical Enquirer&lt;/cite&gt; Volume 19, Issue 1 (January-February
+ 1995)&lt;/cite&gt;&lt;/figcaption&gt;
+&lt;/figure&gt;</pre>
+
+  </div><div class="example">
+
    <p>This next example shows the use of <code><a href="#the-cite-element">cite</a></code> alongside
    <code><a href="#the-blockquote-element">blockquote</a></code>:</p>
Received on Wednesday, 5 October 2011 22:09:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 5 October 2011 22:09:35 GMT