XHTML DOCTYPES & Templates

A collection of XHTML DOCTYPES and ready to use document templates that I created after being frustrated by the difficulty of finding such things in one place online. All XHTML 1.0 variants (strict, transitional & frameset) as well as XHTML 1.1 are present. I hope they prove useful to others in addition to myself.

News

6 May 2008

Added content-type meta tag to templates.

XHTML 1.0

Strict

DOCTYPETemplate
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Transitional

DOCTYPETemplate
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Frameset

DOCTYPETemplate
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

XHTML 1.1

DOCTYPETemplate
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">