View Full Version : Resolved What elements can go in <ul>
As the title says, what elements can go in <ul>, before any <li>. I know <li> can, but any others?
Snookerman
03-29-2009, 03:41 PM
As far as I know (99.999% sure), the only allowed direct child element of the <ul> tag is the <li> tag. Nothing else will validate.
I guess I will use the <li> tag as a parent then. Thanks Snookerman!
Snookerman
03-29-2009, 03:50 PM
You're welcome! You can add 0.001% to that value, now I'm totally sure: http://www.w3.org/TR/html401/struct/lists.html (http://www.w3.org/TR/html401/struct/lists.html)
Medyman
03-29-2009, 03:51 PM
Out of curiosity, what exactly are you trying to do Nile that you would want another element within an unordered list?
http://localhostr.com/files/0bea8b/gloss.png
The inner circle thingy. The one surrounding all the links.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.