Div in li is it wrong usage?
css, html, html-lists, xhtml
Solution
Both elements are block elements so nesting them is fine. Checkout the permitted content allowed in `<li>` in the Mozilla Documentation.
Problem
example; ``` <ul> <li> <div class="img1"><img src="img.jpg" /></div> <div class="cs1">Text text</div> <div class="cs2">text text</div> <div class="button">Next</div> </li> </ul> ``` like above code block div in li. I heard it is wrong usage. Is it true?