Possible Duplicate:
Can we use any other TAG inside <ul> along with <li>?
Or say, <UL>
can only contain <LI>
? or it will be invalid?
I looked up the definition however seem they did not specify this.
see
Possible Duplicate:
Can we use any other TAG inside <ul> along with <li>?
Or say, <UL>
can only contain <LI>
? or it will be invalid?
I looked up the definition however seem they did not specify this.
see
Directly inside a <ul> or <ol> element, you can only have <li> elements and other <ul> or <ol> elements. All other tags need to be inside of <li>'s.