[thelist] marking up titles for definition lists
Keith Gaughan
keith at digital-crew.com
Sun Feb 20 17:53:36 CST 2005
David Siedband wrote:
> What are the best practices for marking up titles of definition lists?
> I have a page with several d-lists and I want to associate them with
> their titles. Something like the way a <legend> definition wraps the
> content of the <fieldset> would be excellent.
>
> This is what I'm using at the moment:
>
> <h2>Surfing Terms</h2>
> <dl>
> <dt>Dawn Patrol</dt>
> <dd>An early morning surf session.</dd>
> <dt>Evening Glass</dt>
> <dd>A late afternoon surf session.</dd>
> </dl>
No, what you've got there is just fine. Everything under a header as far
as the next header of the same or higher level is considered part of the
same group.
At least that's what I *think* you mean.
K.
More information about the thelist
mailing list