W3C home > Mailing lists > Public > www-validator-cvs@w3.org > May 2009

[Bug 6925] <p><pre>...</pre></p> ==> end tag for element "P" which is not open

From: <bugzilla@wiggum.w3.org>
Date: Wed, 20 May 2009 21:21:29 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1M6tE9-0005pj-Ux@wiggum.w3.org>

Ville Skyttä <ville.skytta@iki.fi> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
          Component|Test Suite                  |Parser
         Resolution|                            |INVALID

--- Comment #1 from Ville Skyttä <ville.skytta@iki.fi>  2009-05-20 21:21:28 ---
This is not a bug, but a real error in your markup.  <p> may contain only
inline elements in HTML 4.01, and because <pre> is not an inline element, your
<p> is implicitly closed before it, like:

</p>  <!-- paragraph ends here because of the following <pre> -->
</p>  <!-- end tag for p which is not open, like the validator says -->

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 20 May 2009 21:21:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:35 UTC