Title: Validation trouble&#8230;
Last modified: August 18, 2016

---

# Validation trouble…

 *  [jbs385](https://wordpress.org/support/users/jbs385/)
 * (@jbs385)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/validation-trouble/)
 * I’m having some troubles with validating my site. My almost zero knowledge of
   XHTML syntax is probably the reason but can someone help me with this error?
 * Line 41, column 5: document type does not allow element “p” here; missing one
   of “object”, “applet”, “map”, “iframe”, “button”, “ins”, “del” start-tag
 * the url is [http://www.jaybsays.com](http://www.jaybsays.com)
 * thanks a lot

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

 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/validation-trouble/#post-158802)
 * You’re putting all of your post content into the `<h5 class="storycontent">` 
   element, which is causing a bulk of the validation errors. Try changing this 
   to a `<div>`.
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/validation-trouble/#post-158803)
 * Well for that ONE error, you can’t enclose paragraphs inside an <h> tagset…. 
   without taking the whole thing apart I can’t say further than that. Though I 
   can tell you that the css element “storycontent” on my page is enclosed in <div
   > tags.
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/validation-trouble/#post-158804)
 * Heh – beat me, Kafkaesqui!
 *  [Terry](https://wordpress.org/support/users/terry/)
 * (@terry)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/validation-trouble/#post-158831)
 * Me Again. lol.
 * This is happening to me now too, and I suspect it’s a plugin doing it because
   I’m sure this wasn’t happening earlier. Or maybe I changed something in my css?
   All I’m doing is posting, not adding any code other than a blockquote to quote
   something. And still my posts are invalid.
 * The beginning of my posts start with double ” ” now and I’m a validating mess.
 * [http://superaff.com/](http://superaff.com/)
 *  [Terry](https://wordpress.org/support/users/terry/)
 * (@terry)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/validation-trouble/#post-158832)
 * Sorry that should be:
 * my posts start with double
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/validation-trouble/#post-158859)
 * Terry, are you sure in your template, you don’t have `the_content()` tag nested
   in `<p> ... </p>` tags?
 *  [Terry](https://wordpress.org/support/users/terry/)
 * (@terry)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/validation-trouble/#post-159018)
 * Kafkaesqui do you mean in the themes – default – index.php?
 * I have
 * <div class=”entry”>
    <?php the_content(‘Read the rest of this entry »’); ?> </
   div>
 * (I hope that code pasted ok this time lol)
 * I’ve downloaded WordPress again and am comparing side by side the original with
   the one I’m using with the various plugins. I’ve also turned plugins on and off
   trying to find the error.
 * I know this wasn’t happening earlier because I spent a lot of time cleaning it
   up, all that didn’t validate were the two things in the footer (my added stats
   stuff). Everything up to that point validated. It has to be a plugin or something
   I’ve put *somewhere* that’s causing the problem.
 * I just can’t see it. I even (out of desperation) uploaded the original css file
   to see if that made a difference.
 * lol
 * sigh. needle. haystack.
 *  [Terry](https://wordpress.org/support/users/terry/)
 * (@terry)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/validation-trouble/#post-159064)
 * I’m happy to report I found the problem!
 * Mine was the same as posted here:
 * [http://wordpress.org/support/topic.php?id=10370#post-62879](http://wordpress.org/support/topic.php?id=10370#post-62879)
 * I was using this plugin:
 * ‘Condensed Content for Date and Category Archives’
 * And this is what to change:
 * [http://manalang.com/archives/2004/06/20/wordpress-plugin-condensed-content-for-date-and-category-archives](http://manalang.com/archives/2004/06/20/wordpress-plugin-condensed-content-for-date-and-category-archives)
 * (Comment #26)
 * Change line 49 to:
 * return â€œ<div>$content</div>â€?;

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

The topic ‘Validation trouble…’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 4 participants
 * Last reply from: [Terry](https://wordpress.org/support/users/terry/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/validation-trouble/#post-159064)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
