Hi!
Is this valid:
<dl>
<dt></dt>
<dt></dt>
<dd></dd>
<dd></dd>
</dl>
(2 dts and 2 dds)
Second question: Is dl always the structure to use when no other element is adapted?
Thanks!
| SitePoint Sponsor |


Hi!
Is this valid:
<dl>
<dt></dt>
<dt></dt>
<dd></dd>
<dd></dd>
</dl>
(2 dts and 2 dds)
Second question: Is dl always the structure to use when no other element is adapted?
Thanks!



I don't know. run it through the W3C validator and find out.Originally Posted by aqw
No. Your elements should reflect the structure of your content.Second question: Is dl always the structure to use when no other element is adapted?
Ed Seedhouse
Yes. There is one name/value group with two "names" linked to two "values".Originally Posted by aqw
I don't understand this question. <dl> should be used when you have a list with name/value groups, otherwise not.Originally Posted by aqw
Simon Pieters
Bookmarks