WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Validate xhtml and list item tags (3 posts)

  1. montag
    Member
    Posted 9 years ago #

    My site won't validate apparently because I have used list item tags<li> in my post content. I used the 'quicktags' feature to add them. I am getting the following message when I validate: "document type does not allow element 'li' here"

    My site is at http://www.stumplane.us/wordpress

    Any help would be appreciated.

  2. iand
    Member
    Posted 9 years ago #

    You need to define it as an ordered or unordered list first. i.e.
    <ol>
    <li>something</li>
    </ol>

    or
    <ul>
    <li>something</li>
    </ul>

  3. montag
    Member
    Posted 9 years ago #

    Thanks! That was fast. I appreciate the help.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.