• Below are the results of checking this document for XML
    well-formedness and validity.

    1. Error Line 131 column 13: document type does not allow element “p”
    here; assuming missing “li” start-tag.

    “\

      <p*>*A blog dedicated to casual and high-class fashion,\”

      2. Error Line 133 column 106: end tag for “li” omitted, but OMITTAG NO was specified.

      “\…tte.co.uk/?page_id=2”>more…</ul*>*

    \”

    You may have neglected to close an element, or perhaps you meant to “self-close” an element, that is, ending it with “/>” instead of “>”.

    You can see the website at http://www.geekette.co.uk and they are
    referring to the sidebar. I cannot seem to be able to get rid of these two errors and if I just remove to tags it results in even more errors.

    The brackets I *starred* are the ones which were highlighted in red.
    Help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    A link to the actual blog itself would be more useful than posting snippets of strange things here.

    Thread Starter chuiyl

    (@chuiyl)

    I did, just a bit later 😛

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Okay, first problem is in the about section of your sidebar. You have something that looks like this:

    <li><h2>About</h2>
    <ul><p>A blog dedicated ...
    </ul></li></p>

    That’s not valid. Change it to this:
    <li><h2>About</h2>
    <ul><li><p>A blog dedicated ...
    </p></li></ul></li>

    Tags have to be nested properly, and a UL must contain at least one LI.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘XHTML validation problem’ is closed to new replies.