This has been bothering me for a while, and I\'m wondering if there\'s any consensus on how to do this properly. When I\'m using an HTML list, how do I semantically include
In this case I would use a definition list as so:
<dl> <dt>Fruits I like:</dt> <dd>Apples</dd> <dd>Bananas</dd> <dd>Oranges</dd> </dl>
I put the heading inside the ul. There's no rule that says UL must contain only LI elements.