WordPress.org

Support

Support » Plugins and Hacks » WOW Slider » [Resolved] Validation error.

[Resolved] Validation error.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WOWSlider.com

    @wowslidercom

    The validator gives the following error:

    Validation Output: 1 Error

    Error Line 240, Column 4: No p element in scope but a p end tag seen.

    </p>

    It’s not a part of WOWSlider code.

    When I remove the WOWSlider shortcode I do not get the error. When I put it back in the error returns. Is it something to do with how it interacts with the style?

    Thanks

    Plugin Author WOWSlider.com

    @wowslidercom

    Slider is a block element based on div.
    According to specification (http://www.w3.org/TR/html-markup/p.html#p) “phrasing elements” only should be placed in P tag.
    Div is not a “phrasing element”, that’s why slider should be placed outside the P tag.
    But you’ve inserted slider inside it and this causes the error.

    I think I have fixed it by putting the shortcode inside a <div> tag dont understand it fully but I think that the wordpress editor was putting the WowSlider stuff inside the <P> tags automatically.

    Thanks – you set me on the right path there.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Validation error.’ is closed to new replies.
Skip to toolbar