Title: DOCTYPE declaration
Last modified: August 31, 2016

---

# DOCTYPE declaration

 *  Resolved [jrcollins](https://wordpress.org/support/users/jrcollins/)
 * (@jrcollins)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/doctype-declaration/)
 * I’m using an older theme and was wondering if I need to update the DOCTYPE declaration?
   It is currently set to: `<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//
   EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">`

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

 *  [Thomas Vitale](https://wordpress.org/support/users/thomas-vitale/)
 * (@thomas-vitale)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/doctype-declaration/#post-7243668)
 * Hi [@jrcollins](https://wordpress.org/support/users/jrcollins/),
 * as written [here](https://developer.mozilla.org/en-US/docs/Glossary/Doctype) 
   the DOCTYPE informs the browser which version of HTML (or XML) is used to write
   the document. If the theme you are using is written in XHTML 1.0, it should be
   provided with the corresponding doctype.
 *  Thread Starter [jrcollins](https://wordpress.org/support/users/jrcollins/)
 * (@jrcollins)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/doctype-declaration/#post-7243862)
 * Ok, got it, thanks!
 *  [amanb](https://wordpress.org/support/users/amanb/)
 * (@amanb)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/doctype-declaration/#post-7243942)
 * I am using wordpress 4.6 what kind of doctye i need to put it on top?
    My Social
   share plugin is not working properly due to it. Please help

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

The topic ‘DOCTYPE declaration’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [amanb](https://wordpress.org/support/users/amanb/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/doctype-declaration/#post-7243942)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
