I'm having this code:
<ul>
<div>
</div>
</ul>
I feel no issue in my browser rendering it. I have read this too somewhere that li
should only be used as direct child of ul
.
Is this correct? Can't I use div
as a direct child of UL
? Is there any documentation for the above confusion?
Edit: This link says I can http://css-tricks.com/forums/discussion/11593/divs-inside-uls/p1
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…