[html5] r1252 - /

whatwg at whatwg.org whatwg at whatwg.org
Tue Feb 26 02:09:46 PST 2008


Author: ianh
Date: 2008-02-26 02:09:43 -0800 (Tue, 26 Feb 2008)
New Revision: 1252

Modified:
   index
   source
Log:
[e] (0) <aside> examples

Modified: index
===================================================================
--- index	2008-02-26 09:37:57 UTC (rev 1251)
+++ index	2008-02-26 10:09:43 UTC (rev 1252)
@@ -8473,6 +8473,39 @@
    which could be considered separate from that content. Such sections are
    often represented as sidebars in printed typography.
 
+  <div class=example>
+   <p>The following example shows how an aside is used to mark up background
+    material on Switzerland in a much longer news story on Europe.</p>
+
+   <pre><aside>
+ <h1>Switzerland</h1>
+ <p>Switzerland, a land-locked country in the middle of geographic
+ Europe, has not joined the geopolitical European Union, though it is
+ a signatory to a number of European treaties.</p>
+</aside></pre>
+  </div>
+
+  <div class=example>
+   <p>The following example shows how an aside is used to mark up a pull
+    quote in a longer article.</p>
+
+   <pre>...
+
+<p>He later joined a large company, continuing on the same work.
+<q>I love my job. People ask me what I do for fun when I'm not at
+work. But I'm paid to do my hobby, so I never know what to
+answer. Some people wonder what they would do if they didn't have to
+work... but I know what I would do, because I was unemployed for a
+year, and I filled that time doing exactly what I do
+now.</q></p>
+
+<aside>
+ <q> People ask me what I do for fun when I'm not at work. But I'm
+ paid to do my hobby, so I never know what to answer. </q>
+</aside></pre>
+   <p>Of course his work — or should that be hobby? — isn't
+   his only passion. He also enjoys other pleasures.</p> ...</div>
+
   <h4 id=the-h1><span class=secno>3.8.7 </span>The <dfn
    id=h1><code>h1</code></dfn>, <dfn id=h2><code>h2</code></dfn>, <dfn
    id=h3><code>h3</code></dfn>, <dfn id=h4><code>h4</code></dfn>, <dfn

Modified: source
===================================================================
--- source	2008-02-26 09:37:57 UTC (rev 1251)
+++ source	2008-02-26 10:09:43 UTC (rev 1252)
@@ -6822,7 +6822,49 @@
   separate from that content. Such sections are often represented as
   sidebars in printed typography.</p>
 
+  <div class="example">
 
+   <p>The following example shows how an aside is used to mark up
+   background material on Switzerland in a much longer news story on Europe.</p>
+
+   <pre><aside>
+ <h1>Switzerland</h1>
+ <p>Switzerland, a land-locked country in the middle of geographic
+ Europe, has not joined the geopolitical European Union, though it is
+ a signatory to a number of European treaties.</p>
+</aside></pre>
+
+  </div>
+
+  <div class="example">
+
+   <p>The following example shows how an aside is used to mark up
+   a pull quote in a longer article.</p>
+
+   <pre>...
+
+<p>He later joined a large company, continuing on the same work.
+<q>I love my job. People ask me what I do for fun when I'm not at
+work. But I'm paid to do my hobby, so I never know what to
+answer. Some people wonder what they would do if they didn't have to
+work... but I know what I would do, because I was unemployed for a
+year, and I filled that time doing exactly what I do
+now.</q></p>
+
+<aside>
+ <q> People ask me what I do for fun when I'm not at work. But I'm
+ paid to do my hobby, so I never know what to answer. </q>
+</aside></pre>
+
+<p>Of course his work — or should that be hobby? —
+isn't his only passion. He also enjoys other pleasures.</p>
+
+...</pre>
+
+  </div>
+
+
+
   <h4>The <dfn><code>h1</code></dfn>, <dfn><code>h2</code></dfn>,
   <dfn><code>h3</code></dfn>, <dfn><code>h4</code></dfn>,
   <dfn><code>h5</code></dfn>, and <dfn><code>h6</code></dfn>




More information about the Commit-Watchers mailing list