[html5] the limit of lists?

Cory Sand yrocsand at gmail.com
Thu Aug 28 10:46:53 PDT 2014


Hi cat,





On Tue, Aug 26, 2014 at 8:46 PM, cat <catsoul at thinkplan.org> wrote:

> Lists are used for menus and for lists, and I’ve also seen them used for
> forms, but where’s the limit to things lists can be used for, within the
> bounds of HTML5?
>
> I would say you've covered the typical uses of lists (<ol> and <ul>) in
HTML. Don't forget there's also the association list (<dl>) which is
suitable for name-value groupings (think, for example, a glossary or a
restaurant menu).


> Semantics…lists..are things which could be lists if they were written out
> with pen and paper. A nav menu is one such. I can see how forms could be,
> too.
>

All that really matters WRT semantics is what's in the HTML spec, which
basically defines <ol> and <ul> as "a list of items" (where in the former
case the order of items is meaningful). There is no stipulation in regards
to pen and paper.


>
> but if one would not write a thing down on paper in list form, is that the
> boundary of what an <li> ought to be used for?
>

Can you give an example of what you're thinking of here?


>
> thanks!
>
> cat
> _______________________________________________
> Help mailing list
> Help at lists.whatwg.org
> http://lists.whatwg.org/listinfo.cgi/help-whatwg.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20140828/84bd4146/attachment.htm>


More information about the Help mailing list