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 25207 - Validator did not find missing close p tags.
Summary: Validator did not find missing close p tags.
Status: RESOLVED WONTFIX
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: HEAD
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-29 18:14 UTC by Mohamed Sheikh
Modified: 2015-08-23 07:25 UTC (History)
3 users (show)

See Also:


Attachments
screenshot of validator missing p tags (154.08 KB, image/png)
2014-03-29 18:14 UTC, Mohamed Sheikh
Details

Description Mohamed Sheikh 2014-03-29 18:14:33 UTC
Created attachment 1459 [details]
screenshot of validator missing p tags

I used chrome version 33 on windows 7. I pasted in this simple markup below and it did not report an error or even a warning even though i had a missing </p> tags. 


<!DOCTYPE html>
<html>

<title> Practice HTML </title>

<body>
	
	<h1> My First Heading </h1>	
	
	<p> My First Paragraph <p>
	<hr> <!--the hr element is used to separate content -->
	<p> I'm studying from <a href="http://www.w3schools.com" target="_blank">w3schools</a>.
	
	<p> What does <q>the element do</q> to this.</p>
	
	<p>"Hey I'm a quote!"
	
	<p>&quot;Hey will it work&quot;</p>
	
</body>

</html>


The only warnings it produced were these 3:

1. Info Using experimental feature: HTML5 Conformance Checker.

2. Info No Character encoding declared at document level

3. Using Direct Input mode: UTF-8 character encoding assumed
Comment 1 Andreas Breitschopp 2014-05-07 12:29:54 UTC
I found exactly the same bug now:
also had a missing closing "</p>" tag inside an HTML document and the validator didn't find it!

It would be really great if someone could take a look on this bug.

Thank you!
Comment 2 calimeroteknik 2015-03-12 09:45:58 UTC
I also found exactly the same bug today.
As a result I now use xmllint to validate the syntax of the page!

Actually, missing OPEN tags are also overlooked by the validator, just see: http://calimero.tk/paste/w3cfail.html
It's all green: http://validator.w3.org/check?uri=http%3A%2F%2Fcalimero.tk%2Fpaste%2Fw3cfail.html&ss=1
Comment 3 Michael[tm] Smith 2015-08-23 07:25:32 UTC
End tags are not required for the p element.
https://html.spec.whatwg.org/multipage/semantics.html#the-p-element