Title: Validating XHTML
Last modified: August 20, 2016

---

# Validating XHTML

 *  [Hooper](https://wordpress.org/support/users/hooper/)
 * (@hooper)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/validating-xhtml/)
 * Looking for help or a pointer to resolve errors to sidebar.php file. Website 
   is rfqpro.com
 * W3 Validator is showing 20 errors and they all appear to relate to text widgets
   in sidebar.php
 * Error – Document type does not allow element “li” here; missing one of “ul”, “
   ol”, “menu”, “dir” start-tag
 * My Code:
    <!–sidebar.php–> <li id=”text-390437721″ class=”widget widget_text”
   > <div class=”textwidget”>
 * The sidebar.php file in the editor does not show this text anywhere? Do I need
   to access wordpress code in cPanel vs fixing via theme editor?
 * many thanks Mark

The topic ‘Validating XHTML’ is closed to new replies.

## Tags

 * [html validator](https://wordpress.org/support/topic-tag/html-validator/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Hooper](https://wordpress.org/support/users/hooper/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/validating-xhtml/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
