+ 6
How can we number definition lists?
Is there any way to number them as in ordered or unordered lists?
1 ответ
+ 6
You can mix / imbricate each others between <ol> <ul> <li> ( only the third can be a container of the next ) <dl> <dt> <dd> ( all three definition lists element can contain previous list elements )... in example ( but more combination are possible ^^ ):
<dl>
<ul>
<li>
<dt>title</dt>
<dd>description / definition</dd>
<dd>description / definition</dd>
</li>
<li>
<dt>title</dt>
<dd>description / definition</dd>
</li>
</ul>
</dl>
<dl>
<dt>title</dt>
<dd>
<ol>
<li>description / definition</li>
<li>description / definition</li>
</ol>
</dd>
<dt>title</dt>
<dd>description / definition</dd>
</dl>