Title: Validating xHTML  problem.
Last modified: August 18, 2016

---

# Validating xHTML problem.

 *  [dustyhawk](https://wordpress.org/support/users/dustyhawk/)
 * (@dustyhawk)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/validating-xhtml-problem/)
 * validating my site [http://dustyhawk.com](http://dustyhawk.com) gives me this
 * [http://validator.w3.org/check?uri=http%3A%2F%2Fdustyhawk.com%2F](http://validator.w3.org/check?uri=http%3A%2F%2Fdustyhawk.com%2F)
 * strange thing is, i have validated each file and it is valid. would like the 
   wordpressers help on this.

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

 *  [justinholt](https://wordpress.org/support/users/justinholt/)
 * (@justinholt)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/validating-xhtml-problem/#post-289371)
 * Hehehe try me, I have 400 “errors” and counting
 * [http://www.juberblog.com](http://www.juberblog.com)
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/validating-xhtml-problem/#post-289377)
 * [@dustyhawk](https://wordpress.org/support/users/dustyhawk/),
    what do you mean
   by “validated each file”? You validate your site as it’s shown on the validator
   results page. How do you validate the different files?
 *  Thread Starter [dustyhawk](https://wordpress.org/support/users/dustyhawk/)
 * (@dustyhawk)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/validating-xhtml-problem/#post-289610)
 * basically, each file is validated through the w3.org validation, a permalink 
   is validated and the whole site is validated.
 *  [McShelby](https://wordpress.org/support/users/mcshelby/)
 * (@mcshelby)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/validating-xhtml-problem/#post-289613)
 * [@dustyhawk](https://wordpress.org/support/users/dustyhawk/): What is so hard
   to understand in the XHTML validators output?
 * Error Line 305, column 20: end tag for “em” omitted, but OMITTAG NO was specified.
   `
   <p><em>Hi Serge,</p>`
 * It should be
    `<p><em>Hi Serge,</em></p>`
 *  [wahgnube](https://wordpress.org/support/users/wahgnube/)
 * (@wahgnube)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/validating-xhtml-problem/#post-289622)
 * dustyhawk: When you are writing something in WP within some html tag, you need
   to make sure you don’t break it across lines while typing it in.
 * For instance, saying
    `<small>blah blah blah </small> <small>blah blah blah</
   small> will work fine.
 * But when you type in,
    `<small>blah blah blah`
 * `blah blah blah</small>`
    (which seems reasonable, like you’d done with the `
   <em>`), WP adds additional paragraph breaks/line breaks in between these lines
   causing your file to be invalid html.
 * As in what was typed above becomes,
    `<p><small>blah blah blah</p>`
 * <p>blah blah blah</small></p>
 * leaving hanging `<small>` tags. Hope that made sense.
 * ___
    [http://delineate.wahgnube.org/](http://delineate.wahgnube.org/)

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

The topic ‘Validating xHTML problem.’ is closed to new replies.

## Tags

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

 * 5 replies
 * 5 participants
 * Last reply from: [wahgnube](https://wordpress.org/support/users/wahgnube/)
 * Last activity: [20 years, 5 months ago](https://wordpress.org/support/topic/validating-xhtml-problem/#post-289622)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
