Thread: list elements
View Single Post
Old 02-07-2003, 11:21   #1 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,147
list elements

i've looked through the spec but its not clear. it tells you what you how they work but not what you're not allowed to do.

question: does a <LI> have to site within a <UL> ?

eg:

proper way of doing it

<UL>
<LI>element 1</LI>
<LI>element 2</LI>
</UL>

is this allowed?

<LI>element 1</LI>
<LI>element 2</LI>

it means that the list is not indented.

thoughts, or preferably (but unlikely knowing you lot) answers.

ta.

brn.
  Reply With Quote