Déclaration Doctype

Template

Use the following markup as a template to create a new XHTML 1.0 document using a proper Doctype declaration. See the list below if you wish to use another DTD.

 An XHTML 1.0 Strict standard template

… Your HTML content here …

(X)HTML Doctype Declarations List

HTML 4.01
Strict

Transitional

Frameset

XHTML 1.0
Strict (quick reference)

Transitional

Frameset

XHTML 1.1DTD:

XHTML Basic 1.1 (quick reference):

HTML 5 [NOT a standard yet]

MathML Doctype Declarations

MathML 2.0DTD:

MathML 1.01DTD:

Compound documents doctype declarations

XHTML + MathML + SVGDTD:

XHTML + MathML + SVG Profile (XHTML as the host language) – DTD:

XHTML + MathML + SVG Profile (Using SVG as the host) – DTD:

Optional doctype declarations

Beyond the specificities of (X)HTML processing, Doctype declarations in XML languages are only useful to declare named entities and to facilitate the validation of documents based on DTDs. This means that in many XML languages, doctype declarations are not necessarily useful.

The list below is provided only if you actually need to declare a doctype for these types of documents.

SVG 1.1 FullDTD:

SVG 1.0DTD:

SVG 1.1 BasicDTD:

SVG 1.1 TinyDTD:

Historical doctype declarations

The doctype declarations below are valid, but have mostly an historical value — a doctype declaration of a more recent equivalent ought to be used in their stead.

HTML 2.0DTD:

HTML 3.2DTD:

XHTML Basic 1.0DTD:

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *