Quote:
Originally Posted by PeterT
I'm somewhat confused. Further down in the link you cited is http://www.w3.org/TR/html5/grouping-...the-ul-element
Here it shows
Code:
<p>I have lived in the following countries:</p>
<ul>
<li>Norway
<li>Switzerland
<li>United Kingdom
<li>United States
</ul>
as a valid example.
|
It is valid. The ul element is not a child of the p element. It's a sibling.