W3C home > Mailing lists > Public > www-validator@w3.org > July 2014

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

From: David Dorward <david@dorward.me.uk>
Date: Wed, 16 Jul 2014 14:14:08 +0100
To: "De Xin DX Yuan" <dexiny@cn.concentrix.com>
Cc: www-validator@w3.org
Message-ID: <0DAD48BD-4E35-46D8-B78E-B17F6D7C80D6@dorward.me.uk>
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.


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

This isn't a bug.

David Dorward
Received on Wednesday, 16 July 2014 13:14:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:11 UTC