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

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 UTC