Title: Valid XHTML
Last modified: August 19, 2016

---

# Valid XHTML

 *  [lisakay03](https://wordpress.org/support/users/lisakay03/)
 * (@lisakay03)
 * [17 years ago](https://wordpress.org/support/topic/valid-xhtml-5/)
 * Hello,
    I was wondering if anyone could tell me how important it is to have your
   site completely XHTML valid. I’m using a free theme so I know that the liklihood
   of having zero errors is slim, but I only have 8 errors? Should I try and fix
   them (have no idea how) or is it ok to have a few here and there?
 * Thanks in advance!
 * [http://www.trying2bme.com](http://www.trying2bme.com)

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

 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [17 years ago](https://wordpress.org/support/topic/valid-xhtml-5/#post-1105514)
 * I consider it important. The errors are cascading so fixing one often fixes many.
   If an error show up and you validate then it is the viewer’s problem most likely.
 * BTW, opportunity is mispelled :^) on the site.
 *  Thread Starter [lisakay03](https://wordpress.org/support/users/lisakay03/)
 * (@lisakay03)
 * [17 years ago](https://wordpress.org/support/topic/valid-xhtml-5/#post-1105526)
 * Thank you so much!! I totally missed that!
    Do you think having 8 errors is bad
   though? I really have no idea how to fix the errors I have so I don’t know what
   to do.
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [17 years ago](https://wordpress.org/support/topic/valid-xhtml-5/#post-1105548)
 * No, it is not bad. BTW, I show 15 errors. But why have them there if they are
   easy to fix? Several are in your Finally entry around “and it moves” – if you
   go to edit and highlight the blank space before the quote you will see some unnecessary
   or unclosed bold or strong.
 * The easiest way to fix many errors is to make your document transitional rather
   than strict. You have a lot more lee-way with transitional. That might have been
   set by your theme but you should have a choice somewhere.
 *  Thread Starter [lisakay03](https://wordpress.org/support/users/lisakay03/)
 * (@lisakay03)
 * [17 years ago](https://wordpress.org/support/topic/valid-xhtml-5/#post-1105550)
 * I’ve looked almost everywhere and I can’t seem to find anything about “transitional”
   or “strict”. I’m not going lie, I would really like to fix these, but I’m serious
   when I say that I literally have no clue about any of this coding stuff.
    Any
   additional help would be GREATLY appreciated!! Thanks in advance!
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [17 years ago](https://wordpress.org/support/topic/valid-xhtml-5/#post-1105556)
 * Check your theme’s header.php file and see if it is there.
 *  Thread Starter [lisakay03](https://wordpress.org/support/users/lisakay03/)
 * (@lisakay03)
 * [17 years ago](https://wordpress.org/support/topic/valid-xhtml-5/#post-1105559)
 * I haven’t found it anywhere. What should I do?
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [17 years ago](https://wordpress.org/support/topic/valid-xhtml-5/#post-1105562)
 * So you looked in wp-content/themes/yourtheme/header.php?
 *  Thread Starter [lisakay03](https://wordpress.org/support/users/lisakay03/)
 * (@lisakay03)
 * [17 years ago](https://wordpress.org/support/topic/valid-xhtml-5/#post-1105566)
 * yes, and I’m not sure what I’m even looking for. Will it be an option to turn
   on or off? I see nothing that describes what I’m looking for.
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [17 years ago](https://wordpress.org/support/topic/valid-xhtml-5/#post-1105569)
 * Sorry. First don’t worry. You have a great site that is functioning fine. All
   you are doing is some fine tuning. That shouldn’t stop you from blogging, etc.
   BTW, there is at least one other spelling error in a post. Use that spell check!
   As a former type setter spelling errors jump out at me (as long as I have my 
   glasses on) – its a curse!
 * What you are looking for is this, `Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/
   xhtml1-strict.dtd`. It will most likely be in the second line of code if you 
   open the header.php file. Change strict to transitional.
 * BTW some of the errors are just using caps like JAVA SCRIPT instead of java script.
   And the ampersand which should be written as `&+amp+;` (but drop the + signs –
   I am forced to use them here) Most of the time these show up in text widgets 
   where you have pasted something.
 *  Thread Starter [lisakay03](https://wordpress.org/support/users/lisakay03/)
 * (@lisakay03)
 * [17 years ago](https://wordpress.org/support/topic/valid-xhtml-5/#post-1105572)
 * Ok, thank you so much for your help. I found the strict//en and I changed it 
   to Transitional . I checked my validation and am down to 10 errors and 4 warnings.
   This is going to take forever! Thanks for checking my spelling! haha, I’ll double
   check everything from now on, promise! 🙂

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

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 2 participants
 * Last reply from: [lisakay03](https://wordpress.org/support/users/lisakay03/)
 * Last activity: [17 years ago](https://wordpress.org/support/topic/valid-xhtml-5/#post-1105572)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
