Lists are block level elements and cannot be inside a p

ul elements are invalid inside p elements, since they're block-level. See http://www.w3.org/TR/html401/struct/text.html#h-9.3.1