This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22173 - Reporting missing opening tag when it's there
Summary: Reporting missing opening tag when it's there
Status: RESOLVED WORKSFORME
Alias: None
Product: HTML Checker
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Michael[tm] Smith
QA Contact: qa-dev tracking
URL: http://validator.w3.org/check?uri=che...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-27 07:45 UTC by Chen Asraf
Modified: 2015-08-23 07:07 UTC (History)
2 users (show)

See Also:


Attachments

Description Chen Asraf 2013-05-27 07:45:34 UTC
HTML5 validator is reporting a missing opening tag for <p> when I clearly have the opening tag before it. If this is an error about a <p> tag no allowed where it is, then the description is ambiguous. 

Steps to reproduce: 
Not sure if this is reproducible in all websites, but here is a link to my validation page and see the error yourself. 
http://validator.w3.org/check?uri=chen.asraf.me

Actual error is:
No p element in scope but a p end tag seen.
Comment 1 Michael[tm] Smith 2013-06-21 05:49:04 UTC
(In reply to comment #0)
> HTML5 validator is reporting a missing opening tag for <p> when I clearly
> have the opening tag before it. If this is an error about a <p> tag no
> allowed where it is, then the description is ambiguous. 

Please see http://validator.w3.org/nu/?showsource=yes&doc=http%3A%2F%2Fchen.asraf.me%2F#l39c138

On line 38 you have an <p> start tag and a </p> end tag -- which is all good -- but then on line 39 you have a </p> end tag without a <p> start tag. 

> Steps to reproduce: 
> Not sure if this is reproducible in all websites, but here is a link to my
> validation page and see the error yourself. 
> http://validator.w3.org/check?uri=chen.asraf.me

For validating HTML5 documents, please consider using http://validator.w3.org/nu/ instead.

> Actual error is:
> No p element in scope but a p end tag seen.

Right -- that's because you don't have any <p> start tag on line 39.