W3C home > Mailing lists > Public > public-html-diffs@w3.org > March 2010

hixie: Add example of marking up a FAQ. (whatwg r4844)

From: poot <cvsmail@w3.org>
Date: Sat, 13 Mar 2010 08:51:49 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100312235149.50C1E2BC35@toro.w3.mag.keio.ac.jp>
hixie: Add example of marking up a FAQ. (whatwg r4844)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3879&r2=1.3880&f=h
http://html5.org/tools/web-apps-tracker?from=4843&to=4844

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3879
retrieving revision 1.3880
diff -u -d -r1.3879 -r1.3880
--- Overview.html	12 Mar 2010 01:03:00 -0000	1.3879
+++ Overview.html	12 Mar 2010 23:51:29 -0000	1.3880
@@ -13686,7 +13686,25 @@
   (<code><a href="#the-dl-element">dl</a></code> element).<p class="note">The <code><a href="#the-dt-element">dt</a></code> element itself, when used in a
   <code><a href="#the-dl-element">dl</a></code> element, does not indicate that its contents are a
   term being defined, but this can be indicated using the
-  <code><a href="#the-dfn-element">dfn</a></code> element.<h4 id="the-dd-element"><span class="secno">4.5.11 </span>The <dfn><code>dd</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><dl class="element"><dt>Categories</dt>
+  <code><a href="#the-dfn-element">dfn</a></code> element.<div class="example">
+
+   <p>This example shows a list of frequently asked questions (a FAQ)
+   marked up using the <code><a href="#the-dt-element">dt</a></code> element for questions and the
+   <code><a href="#the-dd-element">dd</a></code> element for answers.</p>
+
+   <pre>&lt;article&gt;
+ &lt;h1&gt;FAQ&lt;/h1&gt;
+ &lt;dl&gt;
+  &lt;dt&gt;What do we want?&lt;/dt&gt;
+  &lt;dd&gt;Our data.&lt;/dd&gt;
+  &lt;dt&gt;When do we want it?&lt;/dt&gt;
+  &lt;dd&gt;Now.&lt;/dd&gt;
+  &lt;dt&gt;Where is it?&lt;/dt&gt;
+  &lt;dd&gt;We are not sure.&lt;/dd&gt;
+ &lt;/dl&gt;
+&lt;/article&gt;</pre>
+
+  </div><h4 id="the-dd-element"><span class="secno">4.5.11 </span>The <dfn><code>dd</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><dl class="element"><dt>Categories</dt>
    <dd>None.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>After <code><a href="#the-dt-element">dt</a></code> or <code><a href="#the-dd-element">dd</a></code> elements inside <code><a href="#the-dl-element">dl</a></code> elements.</dd>
@@ -68798,6 +68816,7 @@
   Edward Welbourne,
   Edward Z. Yang,
   Eira Monstad,
+  Eitan Adler,
   Eliot Graff,
   Elizabeth Castro,
   Elliott Sprehn,
Received on Friday, 12 March 2010 23:52:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:18 GMT