Title: DOCTYPE
Last modified: August 19, 2016

---

# DOCTYPE

 *  [kgravessd](https://wordpress.org/support/users/kgravessd/)
 * (@kgravessd)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/doctype/)
 * is there a simple way to change the TinyMCE editor from XHTML code to HTML code?
 * Is the entire WordPress source files built on the XHTML doctype standards?
 * Examples would be shortags: `<br />` vs `<br />`
 * Edit: lol even this post editor is forcing my br tags with a ending slash

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/doctype/#post-1164554)
 * > is there a simple way to change the TinyMCE editor from XHTML code to HTML 
   > code?
 * Not that I know of.
 * > Is the entire WordPress source files built on the XHTML doctype standards?
 * Yes
 *  [Big Boss](https://wordpress.org/support/users/andddd/)
 * (@andddd)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/doctype/#post-1164764)
 * I think there are no way to force tinymce use HTML code instead of XHTML.
 *  [TheDeadMedic](https://wordpress.org/support/users/thedeadmedic/)
 * (@thedeadmedic)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/doctype/#post-1164766)
 * You could filter the content server-side just before it’s added to the database,
   replacing ‘/>’ for ‘>’?
 *  [Steffen Jørgensen](https://wordpress.org/support/users/jint/)
 * (@jint)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/doctype/#post-1164818)
 * > is there a simple way to change the TinyMCE editor from XHTML code to HTML 
   > code?
 * Why would you want to do that?
 *  [Marie-Aude](https://wordpress.org/support/users/marie-aude/)
 * (@marie-aude)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/doctype/#post-1164823)
 * There is now an HTML5 wordpress theme. You might look at it, it surely has such
   function
 *  [Ryan Hellyer](https://wordpress.org/support/users/ryanhellyer/)
 * (@ryanhellyer)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/doctype/#post-1164824)
 * [@marie-aude](https://wordpress.org/support/users/marie-aude/) – HTML5 supports
   self closing line breaks so I can’t see any reason why it would do that.
 * BTW, what is this HTML5 theme? I’ve seen plenty which use an HTML5 Doctype, but
   none which actually force WordPress to behave in an “HTML” kind of way or which
   use HTML5 specific features.
 *  [james121](https://wordpress.org/support/users/james121/)
 * (@james121)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/doctype/#post-1164827)
 * The current version of Tinymce supports ONLY XHTML output. you cant force it .
 *  [izvarinskij](https://wordpress.org/support/users/izvarinskij/)
 * (@izvarinskij)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/doctype/#post-1164829)
 * Try [XHTML to HTML plugin](http://www.kilroyjames.co.uk/2009/09/xth/), maybe 
   it will help.
 *  [xpressabhi](https://wordpress.org/support/users/xpressabhi/)
 * (@xpressabhi)
 * [16 years ago](https://wordpress.org/support/topic/doctype/#post-1164842)
 * I also don’t understand like others the need on only HTML code. May be you want
   to open your site on Java or dot net HTML viewer and they don’t support javascript
   and may be new HTML5 and XHTML. One of my friend is making a voice based browser(
   more info is on my blog [http://xpressabhi.com](http://xpressabhi.com)) which
   takes input as voice and read out the web page content , he is facing problem
   regarding javascript handling. Now his browser support only HTML pages.
 * I don’t see any other reason to have only HTML based wordpress.
 * Any other view??

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

The topic ‘DOCTYPE’ is closed to new replies.

## Tags

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

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 9 replies
 * 10 participants
 * Last reply from: [xpressabhi](https://wordpress.org/support/users/xpressabhi/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/doctype/#post-1164842)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
