- From: poot <cvsmail@w3.org>
- Date: Sat, 13 Mar 2010 08:51:49 +0900 (JST)
- To: public-html-diffs@w3.org
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><article>
+ <h1>FAQ</h1>
+ <dl>
+ <dt>What do we want?</dt>
+ <dd>Our data.</dd>
+ <dt>When do we want it?</dt>
+ <dd>Now.</dd>
+ <dt>Where is it?</dt>
+ <dd>We are not sure.</dd>
+ </dl>
+</article></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 UTC