Title: 2 errors when trying to validate XHTML
Last modified: August 18, 2016

---

# 2 errors when trying to validate XHTML

 *  [Sridhar Katakam](https://wordpress.org/support/users/srikat/)
 * (@srikat)
 * [19 years ago](https://wordpress.org/support/topic/2-errors-when-trying-to-validate-xhtml/)
 * [http://validator.w3.org/check?uri=http%3A%2F%2Fwww.sridhareena.com](http://validator.w3.org/check?uri=http%3A%2F%2Fwww.sridhareena.com)
 * I get this kind of error:
 * > document type does not allow element “li” here; missing one of “ul”, “ol”, “
   > menu”, “dir” start-tag.
 * It’s coming from the widget titled ‘Links’.
 * Any help on fixing these errors is appreciated.

The topic ‘2 errors when trying to validate XHTML’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Sridhar Katakam](https://wordpress.org/support/users/srikat/)
 * Last activity: [19 years ago](https://wordpress.org/support/topic/2-errors-when-trying-to-validate-xhtml/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
