|
Posted by Andy Dingley on 02/26/07 15:52
On 26 Feb, 09:48, "Bob" <Go1...@Yahoo.Com> wrote:
> I have a number of items that I'm listing row by row...
So think about using one of the HTML list elements: <ul>, <ol>, <dl>
or <menu>
<menu> is deprecated, so forget that.
<ol> implies some sense of "ordering", whcih I don't think you need
here.
<ul> works, for a simple list of atomic elements. Nearly every HTML
list ought to be a <ul>.
<dl> is interesting though, because it has two distinct valid
children, <dt> and <dd> and there's already some vague implicit
coupling between <dt>(s) and the following <dd>(s). There's also
indication in the HTML spec that the notion of "definition list" is
very vague and can be ignored.
So I'd use <dl> and I'd have markup like this:
<dl>
<dt>Apples</dt>
<dd>These are the finest apples from Washington State and were picked
by virgins wearing gloves made of virgin wool.</dd>
<dt>Oranges</dt>
<dd>Gathered by those funny orange-skinned chaps who do the TV
antiques programs.</dd>
</dl>
[Back to original message]
|