Title: Adding HTML! Argh!!!
Last modified: August 18, 2016

---

# Adding HTML! Argh!!!

 *  [krushi](https://wordpress.org/support/users/krushi/)
 * (@krushi)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/adding-html-argh/)
 * I’m trying to create a custom front page, when add HTML to a ‘page’ via the admin
   it changes it..
 * I.e.
 * <p id=”l_bar”><h3>sdfsdff</h3>uihi uihihiui</p>
 * <p id=”r_bar”><h3>sdfsdff</h3>uihi uihihiui</p>
 * Becomes:
 * <p id=”l_bar”> </p>
 * <h3>sdfsdff</h3>
    uihi uihihiui <p id=”r_bar”> </p>
 * <h3>sdfsdff</h3>
    uihi uihihiui

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

 *  Thread Starter [krushi](https://wordpress.org/support/users/krushi/)
 * (@krushi)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/adding-html-argh/#post-630215)
 * Everytime I go back to edit the page with the WordPress editor it messes it up!
 * I’m having to save it in notepad each time and resubmit it.
 *  Thread Starter [krushi](https://wordpress.org/support/users/krushi/)
 * (@krushi)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/adding-html-argh/#post-630217)
 * Is there a way I can turn the visual rubbish off perhaps and just use code?
 *  [sigmaxi](https://wordpress.org/support/users/sigmaxi/)
 * (@sigmaxi)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/adding-html-argh/#post-630220)
 * You could try using a browser that does not support WISYWYG editing. This shows
   only the code tab. (At least Mac OS Safari works this way.)
 *  [sigmaxi](https://wordpress.org/support/users/sigmaxi/)
 * (@sigmaxi)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/adding-html-argh/#post-630221)
 * I also found this in another post:
 * It may be as simple as you need to turn off the wysiwyg editor:
    admin -> Users-
   > scroll to bottom left. Also go to : admin -> Options -> Writing and uncheck
   box for “WordPress should correct invalidly nested XHTML automatically”.
 *  Thread Starter [krushi](https://wordpress.org/support/users/krushi/)
 * (@krushi)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/adding-html-argh/#post-630223)
 * I’ll try these. Thanks.
 *  [autismne](https://wordpress.org/support/users/autismne/)
 * (@autismne)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/adding-html-argh/#post-630244)
 * Where do you enter HTML code? I need to add a tag line under my blog title.
 *  Thread Starter [krushi](https://wordpress.org/support/users/krushi/)
 * (@krushi)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/adding-html-argh/#post-630246)
 * Just do what the above suggested.. then enter your code… you will need to keep
   it like that though.
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [18 years, 8 months ago](https://wordpress.org/support/topic/adding-html-argh/#post-630247)
 * Well, for starters:
    `<p id="l_bar"><h3>sdfsdff</h3>uihi uihihiui</p>`
 * That’s not valid code. P is a block level tag that can only contain inline tags.
   H3 is a block level tag as well. So you can’t put an H3 inside of a P.
 * The correct way to write that would be:
    `<div id="l_bar"><h3>sdfsdff</h3><p>
   uihi uihihiui</p></div>`
 * WordPress is attempting to change your broken code to good code. It’s not particularly
   good at it, mind you, but it’s better than you seem to be.
 *  Thread Starter [krushi](https://wordpress.org/support/users/krushi/)
 * (@krushi)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/adding-html-argh/#post-630251)
 * lol harsh but fair i guess!
 * i wish it would just leave it alone though!
 * thanks for the advice, i will try hand coding that now.

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

The topic ‘Adding HTML! Argh!!!’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 4 participants
 * Last reply from: [krushi](https://wordpress.org/support/users/krushi/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/adding-html-argh/#post-630251)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
