WordPress.org

Ready to get started?Download WordPress

Forums

validation problem??? (6 posts)

  1. mikeherman2
    Member
    Posted 9 years ago #

    My blog will not validate and the majority of the errors are

    1. document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

    or 2. document type does not allow element "ul" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

    • I don't understand the "document type does not allow" are there special requirments w/ XHTML for those type of codes? If so can you recommend sources I should read. All me sites are HTML 4.

      My site is at http://www.CreditAndCreditReports.com/index.php

      Thank you for your help,

      Mike

  2. neetij
    Member
    Posted 9 years ago #

    Several errors stem from <p> tags that do not appear to be closed - lines 99, 110, 125. They should be removed (unless they _are_ closed, which I am missing).

    I think, the line 85 error occurs because the <script> is within the <ul> tag (opened on line 59 and closed on line163).

    Hope this helps.

  3. Jinsan
    Member
    Posted 9 years ago #

    Could have just updated your old thread here:

    http://wordpress.org/support/topic/34674 that we know what you've tried and what you haven't

  4. brainwidth
    Member
    Posted 9 years ago #

    Please read this.

  5. mikeherman
    Member
    Posted 9 years ago #

    Thanks neetij that was part of it.

    Jinsan, sorry, I lost track of that post, but I'll do that in the future.

    Brainwidth, thanks.

    Mike

  6. mikeherman2
    Member
    Posted 9 years ago #

    My blog validates before I have any posts. However once I post, even a single word, I have a problem with 's.

    To validate it I removed every post made, it validated fine. Then I posted a single word "credit", just the word no symbols or html coding, but even that one word won't let it validate because WP is putting the before the word.

    Do I have something incorrectly checked in the options?

    For example - Quote:
    document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

    Credit

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "" or "<table>") inside an inline element (such as "", "<span>", or "<font>").

    Can anybody explain what that means? Do I have an unclosed somewhere else? If so why does it validate?

    When I look at the source WP is putting before each post

    Thanks,

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags