W3C home > Mailing lists > Public > www-validator@w3.org > January 2012

Re: Error in validating <p>..</p> structure

From: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
Date: Fri, 20 Jan 2012 09:58:52 +0000
Message-ID: <4F193ADC.9070103@Rhul.Ac.Uk>
To: davidms@uwclub.net
CC: www-validator@w3.org
A <p> element may not contain an <h2> element.
Philip Taylor
--------
David Swindlehurst wrote:
>
> Hi folks:
>
> Page http://www.fbannisterelectricalservices.co.uk/index.html includes (at line 100):
>
> <p class="layout1"><h2>Email: <a href="mailto:frankbannisterelectrical@gmail.com">frankbannisterelectrical@gmail.com</a></h2></p>.
>
> The html5 Validator produces this error message:
>
> Error /Line 100, Column 129/: No p element in scope but a p end tag seen.
>
> This comment is itself an error - the line is a p element!
>
> Comment please.
>
> Regards
>
> D M Swindlehurst
>
>
>
Received on Friday, 20 January 2012 09:59:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:50 GMT