Re: About list inside a paragraph

On 25 September 2016 at 23:03, James Cobban <webmaster@jamescobban.net>
wrote:

> The <ul> and <ol> tags are peers of the <p> and cannot appear within a
> <p>. In HTML a <ul> or <ol> tag *terminates* an unclosed <p> tag as if
> immediately preceded by a </p>
>

The parsing of the p element in browsers was set in stone many years back
and cannot be changed as it will break too many HTML documents.

--

Regards

SteveF
Current Standards Work @W3C
<http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>

Received on Monday, 26 September 2016 10:06:40 UTC