As the title says, what elements can go in <ul>, before any <li>. I know <li> can, but any others?
As the title says, what elements can go in <ul>, before any <li>. I know <li> can, but any others?
Last edited by Nile; 03-29-2009 at 03:41 PM.
Jeremy | jfein.net
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.
Nile (03-29-2009)
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
Out of curiosity, what exactly are you trying to do Nile that you would want another element within an unordered list?
Bookmarks