Title: Valid XHTML 1.0 Strict!
Last modified: August 18, 2016

---

# Valid XHTML 1.0 Strict!

 *  [alia](https://wordpress.org/support/users/alia/)
 * (@alia)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-10-strict/)
 * i am wondering why i can’t get my page validated XHTML Strict in the single post
   view. there is always the same error:
    ….. document type does not allow element“
   input” here; missing one of “p”,……. where can i get a XHTML 1.0 Strict valid 
   comments.php? or is it the “comments_template();” function that does the cheese?
 * you can see the validation result here:
    [http://validator.w3.org/check?uri=http%3A%2F%2Fadablog.solar-afrika.de%2F2005%2F07%2F23%2Flieber-besucher%2F](http://validator.w3.org/check?uri=http%3A%2F%2Fadablog.solar-afrika.de%2F2005%2F07%2F23%2Flieber-besucher%2F)
   the page is here: [http://adablog.solar-afrika.de](http://adablog.solar-afrika.de)
 * thx very much!

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

 *  [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * (@alphaoide)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-10-strict/#post-240196)
 * just wrap that “input” with “p,” or “div”
 *  Thread Starter [alia](https://wordpress.org/support/users/alia/)
 * (@alia)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-10-strict/#post-240200)
 * that does not work…. i’m trying i’m triygn m’i ritry…
 *  [flakkito](https://wordpress.org/support/users/flakkito/)
 * (@flakkito)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-10-strict/#post-240205)
 * Looks like you have a span tag that is incomplete.
    ’95: 96: <div class=”metadata”
   >[27.07.2005 at 09:07](https://wordpress.org/support/topic/valid-xhtml-10-strict/?output_format=md#comment-7)
   </span> 97: </div><!–div metadata end–> 98: </div><!–div ende jedes Kommentares–
   >’
 * Try to fix that and check it out. Alot of times if you have one little mistake
   it will make the validator spit out a bunch of errors when really its only one
   thing.
 * Good luck;)
    Rob
 *  Thread Starter [alia](https://wordpress.org/support/users/alia/)
 * (@alia)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-10-strict/#post-240217)
 * i fixed it, but it still won’t work.
    if i insert, instead of the hole comments.
   php stuff, simply an Potatoe tag, it is strict Xhtml. so i think the fault has
   to be in the comments. php or in the function itself… i dunno
 *  Thread Starter [alia](https://wordpress.org/support/users/alia/)
 * (@alia)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-10-strict/#post-240320)
 * oh, i mean simply that i inserted < p > Potatoe < / p >, sorry.
    with that tag
   instead of the hole comments.php, the site is strict valid. What i am fuzzy about
   is, that i, if i insert some lines of strict written code in an strict xhtml 
   document, how can it be that the two togoether give me a bad result.
 * ps.:please excuse my english….
 *  [flakkito](https://wordpress.org/support/users/flakkito/)
 * (@flakkito)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-10-strict/#post-240323)
 * Dont worry, your english is fine;) Try taking out the last </div> before </body
   >. I did that and it validated. Also your comment form is okay so the problem
   is elsewhere.
 * so try changing:
    ` <div class="clr"></div>`
 * </div>
    </body> </html>
 * to:
    ` <div class="clr"></div>`
 * </body>
    </html>
 * See if that helps.
 *  Thread Starter [alia](https://wordpress.org/support/users/alia/)
 * (@alia)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-10-strict/#post-240324)
 * my footer looks like this in the end:
    <div class=”clr”></div> </div> <?php do_action(‘
   wp_footer’); ?> </body> </html> the last</div> tag is a layout element (ends 
   the wrap) so if i cut that out, my page looks really Picasso!
 * the error i do not get rid of ist an input type “hidden”…
 *  [flakkito](https://wordpress.org/support/users/flakkito/)
 * (@flakkito)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-10-strict/#post-240325)
 * ok, I see….
 * I put my comments.php here:
 * [http://pastebin.com/323420](http://pastebin.com/323420)
 * if you think the problem is with this file, compare it to mine. Let me know if
   this helps.
 * Rob
 *  Thread Starter [alia](https://wordpress.org/support/users/alia/)
 * (@alia)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-10-strict/#post-240344)
 * I got it! i got it!
    as i am not a coder or a webdesigner, i do not know why 
   and what exactly is causing the fault w/in the commentsform. BUT: if i disable
   the StatTraq plugin (StatTraq 1.0a beta) , i get strict Xhtml validated even 
   in the commentsform.
 * if anyone is able to reproduce the error, perhaps one should feed back the StatTraq
   team
 *  Thread Starter [alia](https://wordpress.org/support/users/alia/)
 * (@alia)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-10-strict/#post-240496)
 * bump:
    is anyone able to reproduce the error?
 *  [tomhanna](https://wordpress.org/support/users/tomhanna/)
 * (@tomhanna)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-10-strict/#post-240497)
 * [http://wordpress.org/support/topic/34789](http://wordpress.org/support/topic/34789)
 * “The official StatTraq is not compatible with WP v1.5.x. Try this version instead:
   [http://www.adsworth.info/files/stattraq-for-1.5-2.zip&#8221](http://www.adsworth.info/files/stattraq-for-1.5-2.zip&#8221);
 * And plenty of other bugs when doing a search for “StatTraq”. I even came across
   a thread where someone recommended to you an alternative stats plugin that doesn’t
   cause problems with XHTML.
 * [http://wordpress.org/support/topic/40510](http://wordpress.org/support/topic/40510)
 *  Thread Starter [alia](https://wordpress.org/support/users/alia/)
 * (@alia)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-10-strict/#post-240509)
 * yes sure, i started this other thread after i thought this one was finished.
   
   I am using WP-ShortStat since, but, it ist not nearly detailed information like
   Stattraq can give…
 *  Thread Starter [alia](https://wordpress.org/support/users/alia/)
 * (@alia)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-10-strict/#post-240510)
 * OK, i tried your [http://www.adsworth.info/files/stattraq-for-1.5-2.zip](http://www.adsworth.info/files/stattraq-for-1.5-2.zip)
   
   but there is still the same error again: there ist some INPUT TYPE=”HIDDEN” that
   is not correctly inserted by Stattraq. I tried it with different comments.php,
   and there is always the same result…
 * check it out here:
    [http://validator.w3.org/check?uri=http%3A%2F%2Fadablog.solar-afrika.de%2F2005%2F08%2F11%2Fzollner-mofas-und-50-millionen-unsere-erste-woche-in-ouagadougou%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1](http://validator.w3.org/check?uri=http%3A%2F%2Fadablog.solar-afrika.de%2F2005%2F08%2F11%2Fzollner-mofas-und-50-millionen-unsere-erste-woche-in-ouagadougou%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1)
 * i don’t know. maybe it is my fault, maybe not…

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

The topic ‘Valid XHTML 1.0 Strict!’ is closed to new replies.

## Tags

 * [comments.php](https://wordpress.org/support/topic-tag/comments-php/)
 * [comments_template](https://wordpress.org/support/topic-tag/comments_template/)
 * [hidden](https://wordpress.org/support/topic-tag/hidden/)
 * [input](https://wordpress.org/support/topic-tag/input/)
 * [Strict](https://wordpress.org/support/topic-tag/strict/)
 * [xhtml](https://wordpress.org/support/topic-tag/xhtml/)

 * 13 replies
 * 4 participants
 * Last reply from: [alia](https://wordpress.org/support/users/alia/)
 * Last activity: [20 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-10-strict/#post-240510)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
