8016370: javadoc warnings, unexpected </p> mostly
Alan Bateman
Alan.Bateman at oracle.com
Wed Jun 12 02:02:29 PDT 2013
On 11/06/2013 21:16, Jonathan Gibbons wrote:
> The rules for </p> in HTML 5 are more complicated, so I would not
> advocate global removal of </p> at this point
>
> http://www.w3.org/TR/2011/WD-html5-20110525/syntax.html#optional-tags
>> A p element's end tag may be omitted if the p element is immediately
>> followed by an address, article, aside, blockquote, dir, div, dl,
>> fieldset, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, hr,
>> 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.
>
> Note that output is currently 4.01 but it is reasonable to expect that
> HTML 5 may be adopted at some point.
>
> -- Jon
Right, I'm being careful with </p> as it has got complicated.
-Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20130612/271abaa0/attachment.html
More information about the nio-dev
mailing list