Title: Help validating with WC3&#8230; 31 errors!
Last modified: August 18, 2016

---

# Help validating with WC3… 31 errors!

 *  [inomaly](https://wordpress.org/support/users/inomaly/)
 * (@inomaly)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/help-validating-with-wc3-31-errors/)
 * Wow! 31 Errors! I’m sure most of these are relatively simple to fix, but damned
   if I know where to start.
 * [http://validator.w3.org/check?uri=www.inomaly.com](http://validator.w3.org/check?uri=www.inomaly.com)
 * I understand the error messages about tags not being closed and whatnot, but 
   can anyone offer me any advise here? I’d very much appreciate it

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/help-validating-with-wc3-31-errors/#post-283921)
 * I’d start by going back to the validator and check the “Show source” box then
   revalidate.
    In this way you’ll see exactly the location of the errors and will
   be easy to find them in your code.
 *  [McShelby](https://wordpress.org/support/users/mcshelby/)
 * (@mcshelby)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/help-validating-with-wc3-31-errors/#post-283927)
 * Hey, you told the validator in the very first line of your HTML, that it’s XHTML.
   In this case it’s not <br> but 
    This applies to tags, that don’t have closing
   ones, like p img …
 *  Thread Starter [inomaly](https://wordpress.org/support/users/inomaly/)
 * (@inomaly)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/help-validating-with-wc3-31-errors/#post-283957)
 * Here’s the revalidation with source:
 * [http://validator.w3.org/check?uri=http%3A%2F%2Fwww.inomaly.com%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1](http://validator.w3.org/check?uri=http%3A%2F%2Fwww.inomaly.com%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1)
 * McShelby – I kinda understand what you’re saying, but what’s the fix for that?
   Just take the X out of XHTML?
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/help-validating-with-wc3-31-errors/#post-283958)
 * No, add a forward slash to the br tags, like this:
 * `<br />`
 *  Thread Starter [inomaly](https://wordpress.org/support/users/inomaly/)
 * (@inomaly)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/help-validating-with-wc3-31-errors/#post-283971)
 * Thanks guys, that took me from 32 down to 17… still far from finished but that’s
   awesome! Any other suggestions, feel free to lay them on me.
 *  [Beel](https://wordpress.org/support/users/beel/)
 * (@beel)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/help-validating-with-wc3-31-errors/#post-283973)
 * [http://www.w3schools.com/tags/tag_center.asp](http://www.w3schools.com/tags/tag_center.asp)
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/help-validating-with-wc3-31-errors/#post-283975)
 * Hey, inomaly, just so you don’t feel so bad….
 * When I first got back into css after 4 years pretty much “away” when I went back
   to work full time, the first site I redid (one of my own, thankfully!) came up
   with 276 errors…. I still have the page printout to remind me how far I’ve come
   since!
 *  [McShelby](https://wordpress.org/support/users/mcshelby/)
 * (@mcshelby)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/help-validating-with-wc3-31-errors/#post-283984)
 * vkaryl: The br tag is what I also wrote in my reply but for some reason this 
   comment system interpreted the br as linebreak instead of writing the tag into
   my reply. I may have had to encapsulate it with a pre tag?
 * inomaly: You should not use the center tag anymore. Use CSS instead. The rest
   of the validation problems you have are pretty well explained by the Validator
   output. Just take some time and _read_ the error messages. You may also consult
   a XHTML reference like [http://en.selfhtml.org/](http://en.selfhtml.org/) Sorrowly
   the english translation isn’t finished at all, but there are translations in 
   german, spanish, japanese and french – if this helps…
 *  [rie](https://wordpress.org/support/users/rie/)
 * (@rie)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/help-validating-with-wc3-31-errors/#post-283986)
 * Also,
    XHTML requires a tag that has no closing element, to be closed. Huh? with
   an ‘img’ tag, you need to ‘close’ the tag with /> example: <img src=’blah.jpg’
   alt=’pic of blah’ />
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/help-validating-with-wc3-31-errors/#post-283989)
 * [@mcshelby](https://wordpress.org/support/users/mcshelby/),
    _I may have had 
   to encapsulate it with a pre tag?_ Nope. Just read the instructins below the 
   text input area: “Put code in between backticks” – usually it’s on the same key
   as the tilde ~
 *  [McShelby](https://wordpress.org/support/users/mcshelby/)
 * (@mcshelby)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/help-validating-with-wc3-31-errors/#post-283996)
 * [@moshu](https://wordpress.org/support/users/moshu/): Ah, reading all content
   of a page helps a lot. Wasn’t that my hint for inomaly 😉 Thanks
 *  Thread Starter [inomaly](https://wordpress.org/support/users/inomaly/)
 * (@inomaly)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/help-validating-with-wc3-31-errors/#post-284055)
 * Again, my thanks to all of you. With your help I’ve whittled it down to 14 errors,
   which I’m sure will be significantly less once I get rid of the center tags later
   this evening. Thanks again!
 *  [McShelby](https://wordpress.org/support/users/mcshelby/)
 * (@mcshelby)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/help-validating-with-wc3-31-errors/#post-284060)
 * Hint: An ul tag is only allowed to follow up an li tag. If you want to have some
   caption above the list like “Powered by” you have to write it before the ul tag.
 *  [rosiembanks](https://wordpress.org/support/users/rosiembanks/)
 * (@rosiembanks)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/help-validating-with-wc3-31-errors/#post-284122)
 * Make sure your images always have “alt” in them and that you’ve got an equal 
   number of div and /div tags, too. That should take care of a bunch of errors.
 * I hadn’t validated my site in a long time. After I read your post, inomaly, I
   checked and found 157 errors! I only needed to fix about ten or twelve things,
   but it’s surprising how quickly the errors creep in over time.

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

The topic ‘Help validating with WC3… 31 errors!’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 14 replies
 * 7 participants
 * Last reply from: [rosiembanks](https://wordpress.org/support/users/rosiembanks/)
 * Last activity: [20 years, 6 months ago](https://wordpress.org/support/topic/help-validating-with-wc3-31-errors/#post-284122)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
