[html5] Optional end tag for P before FIGURE?
Simon Pieters
simonp at opera.com
Mon Oct 6 02:26:20 PDT 2014
On Fri, 03 Oct 2014 22:09:14 +0200, Ezequiel Garzón
<garzon.lucero at gmail.com> wrote:
> Greetings! Is there a reason FIGURE is not one of the elements before
> which the P end tag may be omitted? The WHATWG and W3C validators do
> not objetct, but it is not valid markup as I see it:
>
> "A p element's end tag can be omitted if the p element is immediately
> followed by an address, article, aside, blockquote, div, dl, fieldset,
> footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, hr, main, menu,
> nav, ol, p, pre, section, table, or ul, element, or if there is no
> more content in the parent element and the parent element is not an a
> element."
I filed https://www.w3.org/Bugs/Public/show_bug.cgi?id=26981 -- found some
more wrongness in this area.
cheers
--
Simon Pieters
Opera Software
More information about the Help
mailing list