• Resolved Bos

    (@hermanbos)


    I have this code in a page:

    [caption id="attachment_4928" align="alignleft" width="450"]<a onclick="MyWindow=window.open('http://www.assen35.nl/bestanden35/Kantine_Achilles.htm','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=400'); return false;" href="#"><img src="http://www.assen35.nl/wp-content/uploads/2012/09/Kantine_Achilles-300x225.gif" alt="" width="450" height="225" class="size-medium wp-image-4928" /></a><i>De kantine van Achilles. Klik op de foto voor meer foto's.</i>[/caption]

    When I validate this page on validator.w3.org I get an error:

    Validation Output: 1 Error

    Error Line 300, Column 1166: No p element in scope but a p end tag seen.
    …kantine van Achilles. Klik op de foto voor meer foto’s.</i></p></div></p>

    However I did not put any </p> tag in it.

    Who know what the problem is? Is it really a problem because the code is working OK on the website?

Viewing 1 replies (of 1 total)
  • Thread Starter Bos

    (@hermanbos)

    Problem solved. Can’t explain it. After I put the code between <div> and </div> the validation was OK….

Viewing 1 replies (of 1 total)
  • The topic ‘No p element in scope but a p end tag seen.’ is closed to new replies.