Title: XHTML W3 Validator
Last modified: August 19, 2016

---

# XHTML W3 Validator

 *  Resolved [petekkia](https://wordpress.org/support/users/petekkia/)
 * (@petekkia)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/xhtml-w3-validator/)
 * Hi there,
    in recent weeks I’m trying to make compatible my blog with W3 XHTML
   validator. It started reporting 89 errors, and change after change, I decreased
   them to 4 and 1 warning. But now I really don’t now what to do, because i don’t
   understand where i must look for them, either plugins or WP code or articles’
   html.
 * Now the errors are:
 * The website is [http://www.leoclubrc.it](https://wordpress.org/support/topic/xhtml-w3-validator/www.leoclubrc.it?output_format=md)(
   the source code is still the one not validatable).
 *     ```
       #  Error  Line 615, Column 26: end tag for "body" omitted, but OMITTAG NO was specified
   
       <!-- End Shadowbox JS …
   
       ✉
   
       You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
       # Info Line 50: start tag was here
   
       ><body>
   
       # Error Line 615, Column 26: end tag for "html" omitted, but OMITTAG NO was specified
   
       <!-- End Shadowbox JS …
   
       ✉
   
       You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
       # Info Line 2: start tag was here
   
       ><html xmlns="http://www.w3.org/1999/xhtml">
   
       # Error Line 615, Column 25: XML Parsing Error: Premature end of data in tag body line 50
   
       <!-- End Shadowbox JS -->
   
       ✉
       # Error Line 615, Column 25: XML Parsing Error: Premature end of data in tag html line 2
   
       <!-- End Shadowbox JS -->
       ```
   
 * Can someone tell me where and what have I to change?
    Thanks! Fabrizio.

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

 *  [@mercime](https://wordpress.org/support/users/mercime/)
 * (@mercime)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/xhtml-w3-validator/#post-1291951)
 * open up your theme’s footer.php and add the following at the very end of the 
   footer.php
 *     ```
       </body>
       </html>
       ```
   
 *  Thread Starter [petekkia](https://wordpress.org/support/users/petekkia/)
 * (@petekkia)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/xhtml-w3-validator/#post-1291953)
 * Wow, thanks! It worked…
    Can I ask you another question? There’s a warning which
   says:
 *     ```
       Warning Byte-Order Mark found in UTF-8 File.
   
             The Unicode Byte-Order Mark (BOM) in UTF-8 encoded files is known to cause problems for some text editors and older browsers. You may want to consider avoiding its use until it is better supported.
       ```
   
 * Do you also know how to fix it?
    Thanks again!
 *  [@mercime](https://wordpress.org/support/users/mercime/)
 * (@mercime)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/xhtml-w3-validator/#post-1292053)
 * [A fix found via Google](http://jez007.wordpress.com/2008/03/26/validation-warning-byte-order-mark-found-in-utf-8-file/)..
   basically use a plain text editor

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

The topic ‘XHTML W3 Validator’ is closed to new replies.

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [@mercime](https://wordpress.org/support/users/mercime/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/xhtml-w3-validator/#post-1292053)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
