Skip to content
Permalink
Browse files

[c] (1) Define the precise meaning of misordered <dl> markup

git-svn-id: http://svn.whatwg.org/webapps@1245 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Feb 26, 2008
1 parent 6d3e5b9 commit 7d8c1da615255adf6bb5748517ada0514679e72c
Showing with 28 additions and 0 deletions.
  1. +14 −0 index
  2. +14 −0 source
14 index
@@ -9932,6 +9932,20 @@ I first lived there):&lt;/p>
href="#dd">dd</a></code> elements, then it consists of one group with
values but no names, and the document is non-conforming.

<p>If a <code><a href="#dl">dl</a></code> element starts with one or more
<code><a href="#dd">dd</a></code> elements, then the first group has no
associated name.

<p>If a <code><a href="#dl">dl</a></code> element ends with one or more
<code><a href="#dt">dt</a></code> elements, then the last group has no
associated value.

<p class=note>Such mistakes are often due to using accidentally <code><a
href="#dd">dd</a></code> elements in the place of <code><a
href="#dt">dt</a></code> elements and vice versa. Conformance checkers can
spot such mistakes and might be able to advise authors how to correctly
use the markup.

<div class=example>
<p>In the following example, one entry ("Authors") is linked to two values
("John" and "Luke").</p>
14 source
@@ -8096,6 +8096,20 @@ I first lived there):&lt;/p>
elements, then it consists of one group with values but no names,
and the document is non-conforming.</p>

<p>If a <code>dl</code> element starts with one or more
<code>dd</code> elements, then the first group has no associated
name.</p>

<p>If a <code>dl</code> element ends with one or more
<code>dt</code> elements, then the last group has no associated
value.</p>

<p class="note">Such mistakes are often due to using accidentally
<code>dd</code> elements in the place of <code>dt</code> elements
and vice versa. Conformance checkers can spot such mistakes and
might be able to advise authors how to correctly use the markup.</p>


<div class="example">
<p>In the following example, one entry ("Authors") is linked to two
values ("John" and "Luke").</p>

0 comments on commit 7d8c1da

Please sign in to comment.
You can’t perform that action at this time.