Title: Why does using break codes cause xhtml validation problems?
Last modified: August 18, 2016

---

# Why does using break codes cause xhtml validation problems?

 *  Resolved [brianbonner](https://wordpress.org/support/users/brianbonner/)
 * (@brianbonner)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/why-does-using-break-codes-cause-xhtml-validation-problems/)
 * Why does br code and del code cause the validators to vomit?

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

 *  [gb_](https://wordpress.org/support/users/gb_/)
 * (@gb_)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/why-does-using-break-codes-cause-xhtml-validation-problems/#post-196179)
 * Are you writing xHTML or HTML? If you write xHTML, then a linebreak is `<br /
   >`, but in regular HTML, you get `<br>`… so that may be a reason.
 * scratch that… took a look at your code… you have to use all lowercase in your
   markup when you use an XHTML doctype.
 * as for the del tags, I didn’t look too deeply, but from the validator’s notes,
   it may just be some quotes left open somewhere?
 *  Thread Starter [brianbonner](https://wordpress.org/support/users/brianbonner/)
 * (@brianbonner)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/why-does-using-break-codes-cause-xhtml-validation-problems/#post-196474)
 * When I use the `<del></del>` in the title it doesn’t like it either, but it says
   it is valid. It seems it does not expect to see code in the title, but I love
   the strike through myself.

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

The topic ‘Why does using break codes cause xhtml validation problems?’ is closed
to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [brianbonner](https://wordpress.org/support/users/brianbonner/)
 * Last activity: [21 years, 1 month ago](https://wordpress.org/support/topic/why-does-using-break-codes-cause-xhtml-validation-problems/#post-196474)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
