[html5] r4844 - [e] (0) Add example of marking up a FAQ.
whatwg at whatwg.org
whatwg at whatwg.org
Fri Mar 12 15:51:26 PST 2010
Author: ianh
Date: 2010-03-12 15:51:24 -0800 (Fri, 12 Mar 2010)
New Revision: 4844
Modified:
complete.html
index
source
Log:
[e] (0) Add example of marking up a FAQ.
Modified: complete.html
===================================================================
--- complete.html 2010-03-12 01:07:53 UTC (rev 4843)
+++ complete.html 2010-03-12 23:51:24 UTC (rev 4844)
@@ -15881,6 +15881,7 @@
mark up dialogue</a> are shown below.</p>
+
<h4 id=the-dt-element><span class=secno>4.5.10 </span>The <dfn><code>dt</code></dfn> element</h4>
<dl class=element><dt>Categories</dt>
@@ -15902,9 +15903,28 @@
term being defined, but this can be indicated using the
<code><a href=#the-dfn-element>dfn</a></code> element.</p>
+ <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>
<dl class=element><dt>Categories</dt>
@@ -90642,6 +90662,7 @@
Edward Welbourne,
Edward Z. Yang,
Eira Monstad,
+ Eitan Adler,
Eliot Graff,
Elizabeth Castro,
Elliott Sprehn,
Modified: index
===================================================================
--- index 2010-03-12 01:07:53 UTC (rev 4843)
+++ index 2010-03-12 23:51:24 UTC (rev 4844)
@@ -15780,6 +15780,7 @@
mark up dialogue</a> are shown below.</p>
+
<h4 id=the-dt-element><span class=secno>4.5.10 </span>The <dfn><code>dt</code></dfn> element</h4>
<dl class=element><dt>Categories</dt>
@@ -15801,9 +15802,28 @@
term being defined, but this can be indicated using the
<code><a href=#the-dfn-element>dfn</a></code> element.</p>
+ <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>
<dl class=element><dt>Categories</dt>
@@ -84203,6 +84223,7 @@
Edward Welbourne,
Edward Z. Yang,
Eira Monstad,
+ Eitan Adler,
Eliot Graff,
Elizabeth Castro,
Elliott Sprehn,
Modified: source
===================================================================
--- source 2010-03-12 01:07:53 UTC (rev 4843)
+++ source 2010-03-12 23:51:24 UTC (rev 4844)
@@ -16757,6 +16757,7 @@
mark up dialogue</a> are shown below.</p>
+
<h4>The <dfn><code>dt</code></dfn> element</h4>
<dl class="element">
@@ -16781,9 +16782,28 @@
term being defined, but this can be indicated using the
<code>dfn</code> element.</p>
+ <div class="example">
+ <p>This example shows a list of frequently asked questions (a FAQ)
+ marked up using the <code>dt</code> element for questions and the
+ <code>dd</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>The <dfn><code>dd</code></dfn> element</h4>
<dl class="element">
@@ -101560,6 +101580,7 @@
Edward Welbourne,
Edward Z. Yang,
Eira Monstad,
+ Eitan Adler,
Eliot Graff,
Elizabeth Castro,
Elliott Sprehn,
More information about the Commit-Watchers
mailing list