Title: Site Not Validating &#8211; One Error
Last modified: August 18, 2016

---

# Site Not Validating – One Error

 *  [amulet](https://wordpress.org/support/users/amulet/)
 * (@amulet)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/site-not-validating-one-error/)
 * I’ve been working for hours to get my site to validate, and I’ve managed to get
   it down to one error, but I can’t figure out where the error is, or exactly what
   it is. Here’s the error I get:
 * >  Error Line 227 column 3: document type does not allow element “li” here; missing
   > one of “ul”, “ol”, “menu”, “dir” start-tag.
   >  - 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>”).
 * I’ve looked all over for extra tags and missing tags, and I can’t find anything.
   I would appreciate any help. Thanks!

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

 *  Thread Starter [amulet](https://wordpress.org/support/users/amulet/)
 * (@amulet)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/site-not-validating-one-error/#post-394507)
 * I’m sorry, I forgot to mention the URL:
 * [http://www.SassyDevil.com](http://www.sassydevil.com/)
 * Thank you.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/site-not-validating-one-error/#post-394510)
 * [http://validator.w3.org/check?uri=http%3A%2F%2Fwww.sassydevil.com%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1#line-227](http://validator.w3.org/check?uri=http%3A%2F%2Fwww.sassydevil.com%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1#line-227)
 * you have an opening and closing `<li></li>` and no
    `<ol></ol>` or `<ul></ul>`
 * remove the 2 list tags, you’ll be fine.
 * the link I provided will show you your source, look at lines 227/229, then scroll**
   up**.. the next list-related tag you will see is quite away up, and its a closing
   tag.
 * li = list item
    li needs to be told what kind of list, unordered, ordered, etc..
 *  Thread Starter [amulet](https://wordpress.org/support/users/amulet/)
 * (@amulet)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/site-not-validating-one-error/#post-394634)
 * Thanks! I don’t know how I missed that! Sometimes I get so “deep” into looking
   for something not working, I miss it. 🙂

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

The topic ‘Site Not Validating – One Error’ is closed to new replies.

## Tags

 * [validate](https://wordpress.org/support/topic-tag/validate/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [amulet](https://wordpress.org/support/users/amulet/)
 * Last activity: [19 years, 11 months ago](https://wordpress.org/support/topic/site-not-validating-one-error/#post-394634)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
