[html5] r1439 - /

whatwg at whatwg.org whatwg at whatwg.org
Mon Apr 14 16:52:10 PDT 2008


Author: ianh
Date: 2008-04-14 16:52:08 -0700 (Mon, 14 Apr 2008)
New Revision: 1439

Modified:
   index
   source
Log:
[e] (0) Add example for <dl> that uses <dfn>.

Modified: index
===================================================================
--- index	2008-04-13 08:27:18 UTC (rev 1438)
+++ index	2008-04-14 23:52:08 UTC (rev 1439)
@@ -24,7 +24,7 @@
 
    <h1 id=html-5>HTML 5</h1>
 
-   <h2 class="no-num no-toc" id=working>Working Draft — 13 April 2008</h2>
+   <h2 class="no-num no-toc" id=working>Working Draft — 14 April 2008</h2>
 
    <p>You can take part in this work. <a
     href="http://www.whatwg.org/mailing-list">Join the working group's
@@ -10228,6 +10228,22 @@
 </dl></pre>
   </div>
 
+  <div class=example>
+   <p>The following snippet shows a <code><a href="#dl">dl</a></code> element
+    being used as a glossary. Note the user of <code><a
+    href="#dfn">dfn</a></code> to indicate the word being defined.</p>
+
+   <pre><dl>
+ <dt><dfn>Apartment</dfn>, n.</dt>
+ <dd>An execution context grouping one or more threads with one or
+ more COM objects.</dd>
+ <dt><dfn>Flat</dfn>, n.</dt>
+ <dd>A deflated tire.</dd>
+ <dt><dfn>Home</dfn>, n.</dt>
+ <dd>The user's login directory.</dd>
+</dl></pre>
+  </div>
+
   <p class=note>The <code><a href="#dl">dl</a></code> element is
    inappropriate for marking up dialogue, since dialogue is ordered (each
    speaker/line pair comes after the next). For an example of how to mark up

Modified: source
===================================================================
--- source	2008-04-13 08:27:18 UTC (rev 1438)
+++ source	2008-04-14 23:52:08 UTC (rev 1439)
@@ -8417,6 +8417,21 @@
 </dl></pre>
   </div>
 
+  <div class="example">
+   <p>The following snippet shows a <code>dl</code> element being used
+   as a glossary. Note the user of <code>dfn</code> to indicate the
+   word being defined.</p>
+   <pre><dl>
+ <dt><dfn>Apartment</dfn>, n.</dt>
+ <dd>An execution context grouping one or more threads with one or
+ more COM objects.</dd>
+ <dt><dfn>Flat</dfn>, n.</dt>
+ <dd>A deflated tire.</dd>
+ <dt><dfn>Home</dfn>, n.</dt>
+ <dd>The user's login directory.</dd>
+</dl></pre>
+  </div>
+
   <p class="note">The <code>dl</code> element is inappropriate for
   marking up dialogue, since dialogue is ordered (each speaker/line
   pair comes after the next). For an example of how to mark up




More information about the Commit-Watchers mailing list