Title: invalid markup problem
Last modified: August 19, 2016

---

# invalid markup problem

 *  Resolved [smartyd](https://wordpress.org/support/users/smartyd/)
 * (@smartyd)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/invalid-markup-problem/)
 * Hi. I had my site [http://www.theamazingagingmind.com](http://www.theamazingagingmind.com)
   checked by the markup validation site and I have a slew of invalid code that 
   I can’t find. For example, there are a bunch of these (where the site SAYS I 
   have a certain code, and I know it relates to the images I put at the begining
   of my posts, but I can’t find the code anywhere). Example:
    Error: …aption alignleft”
   style=”width: 210px”><a href=”[http://www.zazzle.com/sanity_is…](http://www.zazzle.com/sanity_is…)
 * What I have on that post ([http://www.theamazingagingmind.com/2010/alzheimers-and-parkinsons-caregiving/](http://www.theamazingagingmind.com/2010/alzheimers-and-parkinsons-caregiving/))
   is:
    [caption id="attachment_483" align="alignleft" width="200" caption="Caregiving
   not for the fainthearted"]<a href=”[http://www.zazzle.com/sanity_is&#8230](http://www.zazzle.com/sanity_is&#8230);
 * Where else would a post code be stored so I can fix it?
    Thanks Frustrated

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

 *  Thread Starter [smartyd](https://wordpress.org/support/users/smartyd/)
 * (@smartyd)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/invalid-markup-problem/#post-1512895)
 * In looking over the list of invalid markups, it’s evident EVERYTHING I add to
   this site produces invalid markup: youtube, amazon associate, statcounter, all
   images!! Argh! Is this due to WordPress 3.0 bugs or what?
 *  [iridiax](https://wordpress.org/support/users/iridiax/)
 * (@iridiax)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/invalid-markup-problem/#post-1512913)
 * WordPress uses XHTML and most add-on code from other sites is HTML, so it will
   generate code errors. If there is an XHTML option for the add-on code, then use
   that instead. If not, you can typically ignore the errors unless they are causing
   display problems.
 * [http://codex.wordpress.org/HTML_to_XHTML](http://codex.wordpress.org/HTML_to_XHTML)
 * The other main cause of bad code in WordPress is using the visual editor. You
   can disable it somewhere in your dashboard.
 *  [iridiax](https://wordpress.org/support/users/iridiax/)
 * (@iridiax)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/invalid-markup-problem/#post-1512914)
 * Most of your errors are due to having a plain & instead of the XHTML code version
   in your code.
 *  Thread Starter [smartyd](https://wordpress.org/support/users/smartyd/)
 * (@smartyd)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/invalid-markup-problem/#post-1512948)
 * What a relief! Thanks for the link. I went out into the world and ran a bunch
   of well-known sites on the w3c checker, and they all have tons of errors. But
   I shall be among the few with only a few thanks to you. : )
 *  [matthendrick](https://wordpress.org/support/users/matthendrick/)
 * (@matthendrick)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/invalid-markup-problem/#post-1513209)
 * I think I might be having the same problem – can you take a look at [http://validator.w3.org/check?uri=http%3A//blackops-multiplayer.com/](http://validator.w3.org/check?uri=http%3A//blackops-multiplayer.com/)
   and let me know if this is similar to what you saw? There are no obvious display
   problems when you visit the site.
 * Thanks in advance!

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

The topic ‘invalid markup problem’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [markup](https://wordpress.org/support/topic-tag/markup/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [matthendrick](https://wordpress.org/support/users/matthendrick/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/invalid-markup-problem/#post-1513209)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
