Re: Find a BUG of [ W3C Markup Validation Service ]

"David Dorward" <[email protected]>
Newsgroups gmane.org.w3c.validator
Message-ID <[email protected]>
On 16 Jul 2014, at 7:00, De Xin DX Yuan wrote:

> Here is part of my code, you can find <p class="bodycopy1"> have not 
> been closed, but it show no error in W3C Markup Validation Service,

 From the HTML 5 specification:

> Tag omission in text/html:
>
> A p element's end tag may 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, 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.

http://www.w3.org/TR/html5/grouping-content.html#the-p-element

Your paragraph is immediately followed by another paragraph, so it is 
fine.

This isn't a bug.

-- 
David Dorward
http://dorward.co.uk/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.