Title: changing rendered html
Last modified: August 19, 2016

---

# changing rendered html

 *  [kas187](https://wordpress.org/support/users/kas187/)
 * (@kas187)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/changing-rendered-html/)
 * Hello,
 * Im building my own theme using a copy of the default kubrick theme and i need
   some pointers on which files to change so i have a different output of html. 
   Currently when i attach an image in making a post, the theme outputs the following:
   `
   <p><a href="#"><img width="65" height="85" alt="" src="#" title="books [left 
   aligned]" class="alignleft size-medium wp-image-5"/></a></p>`
 * How can i change the code where the image isn’t wrapped in a p but something 
   else like a div.

Viewing 1 replies (of 1 total)

 *  [adam-s](https://wordpress.org/support/users/adam-s/)
 * (@adam-s)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/changing-rendered-html/#post-757731)
 * This may actually be an editor issue. TinyMCE has settings for this sort of thing
   buried deep in Javascript files.

Viewing 1 replies (of 1 total)

The topic ‘changing rendered html’ is closed to new replies.

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [adam-s](https://wordpress.org/support/users/adam-s/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/changing-rendered-html/#post-757731)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
