Skip to main content

HTML Guide

Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.)

A <div> tag has been found as a direct child of an <ul> tag, and this is not allowed. For example, <ul><div><li>item</li></div></ul> is not valid, but <ul><li><div>item</div></li></ul> is valid as the direct child of <ul> is <li>.

Related W3C validator issues