The Skin Editor HTML screen lets you add code into HTML areas of the page.
See the http://www.w3schools.com/tags/tag_doctype.asp for more information on HTML doctypes.
The default doctype for Confluence 5, used in the ThemeBuilder ROOT theme, is <!DOCTYPE html>. You can change this in a custom skin, but you should be aware that it will change how the browser interprets your pages.
The HTML Tag option allows you to add attributes to the <HTML> tag for all pages viewed with the skin. The primary purpose of this option is to add a VML namespace when using things like Google Maps API.
Header - Body - Footer
Each Header, Body, and Footer section has a popup editor that enables access to write additional HTML into the Header, Body, and Footer sections of the current skin.
Click Save to apply any changes made in the HTML screen.