httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: XML files
Date Thu, 03 Oct 2002 17:27:15 GMT
Luiz Rocha wrote:
>>in general:
>><dt><dl> is used for definition lists, where a definition term is
>>explained.
>><ul><li> is used for (enumerating) lists, which specify some points
>>relevant for the same topic.

Let me just add a little comment:

<dl> lists contain two parts: a term and a defition, while <ul> lists 
only contain one part: the list item.  What you should NOT do is mix 
those up.  For example, don't do this:

<ul>
<li><strong>Thing</strong><br />
Stuff</li>
<li><strong>Thing2</strong><br />
More Stuff</li>
</ul>

That should be:

<dl>
<dt>Thing</dt><dd>Stuff</dd>
<dt>Thing2</dt><dd>More Stuff</dd>
</dl>

And similarly, don't do

<dl>
<dt>Blah blah blah</dt>
<dt>Blah blah blah</dt>
</dl>

Use <ul> for that.

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message