[thelist] Paragraphs within lists

aardvark roselli at earthlink.net
Thu Nov 16 07:10:32 CST 2000


i use <br> tags... i don't like to nest block-level elements of that 
sort... as far as i see it, a <dl> is analagous to a <p>, it just 
implies different content... as such, i wouldn't nest any <p>s...

so:

<dl>
 <dt>foo</dt>
 <dd>bar<br>foobar<br>foo<br>bar</dd>
</dl>

would be mine...

> From: <martin.p.burns at uk.pwcglobal.com>
> 
> What I'm trying to do is put together a definition list - pretty standard stuff:
> it's a jargon- buster.
> 
> However, some of the definitions have paragraph breaks within them.
> 
> How would this be correctly coded & nested? Would it be:
> <dl>
>   <dt>
>        foo
>   </dt>
>    <dd>
>        <p>bar bar bar</p>
>        <p>plig plig plig</p>
>    </dd>
> </dl>





More information about the thelist mailing list