Title: Classes getting added
Last modified: August 21, 2016

---

# Classes getting added

 *  [willcowd](https://wordpress.org/support/users/willcowd/)
 * (@willcowd)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/classes-getting-added/)
 * Hi All
 * I hope you can help as I can’t find the answer anywhere.
 * If I have a div. <div class=”mystyle”>Text</div>
    and inside the div tag I press
   enter, the html ends up as
 * <div class=”mystyle”>Text</div>
    <div class=”mystyle”>New line</div>
 * What I need is
    <div class=”mystyle”>Text new line</div>
 * How can I stop wordpress adding extra divs? Main problem comes when adding images.
 * Thanks
    Mark

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/classes-getting-added/#post-4227633)
 * The WordPress editor never adds `<div></div>` tags. In fact (and as far as I 
   am aware) the Text editor isn’t capable of adding div tags. Can you replicate
   the problem using the default Twenty Thirteen theme with **all** plugins deactivated?

Viewing 1 replies (of 1 total)

The topic ‘Classes getting added’ is closed to new replies.

## Tags

 * [class](https://wordpress.org/support/topic-tag/class/)
 * [div](https://wordpress.org/support/topic-tag/div/)
 * [html](https://wordpress.org/support/topic-tag/html/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/classes-getting-added/#post-4227633)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
