Академический Документы
Профессиональный Документы
Культура Документы
Template
Use the following markup as a template to create a new HTML document using
a proper Doctype declaration. See the list below if you wish to use another
DTD.
<!DOCTYPE html>
<html>
<head>
<title>An HTML standard template</title>
<meta charset="utf-8" />
</head>
<body>
</body>
</html>
HTML 4.01
Strict
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
Transitional
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Frameset
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
XHTML 1.0
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-
strict.dtd">
Transitional
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
Frameset
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-
frameset.dtd">
XHTML 1.1 - DTD:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
"http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">
"http://www.w3.org/Math/DTD/mathml1/mathml.dtd">
https://www.w3.org/QA/2002/04/valid-dtd-list.html 3/5
19/9/2016 W3C QA - Recommended list of Doctype declarations you can use in your Web document
The list below is provided only if you actually need to declare a doctype for
these types of documents.
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-
basic.dtd">
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-
tiny.dtd">
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.0 - DTD:
<!DOCTYPE html PUBLIC "-//IETF//DTD HTML
2.0//EN">
HTML 3.2 - DTD:
https://www.w3.org/QA/2002/04/valid-dtd-list.html 4/5
19/9/2016 W3C QA - Recommended list of Doctype declarations you can use in your Web document
Send us Feedback
Last updated: $Date: 2016/07/01 13:20:56 $ by $Author: dom $
COPYRIGHT © 1994-2006 W3C® (MIT, ERCIM, KEIO), ALL RIGHTS RESERVED. W3C
LIABILITY, TRADEMARK, DOCUMENT USE AND SOFTWARE LICENSING RULES APPLY.
YOUR INTERACTIONS WITH THIS SITE ARE IN ACCORDANCE WITH OUR PUBLIC AND
MEMBER PRIVACY STATEMENTS.
https://www.w3.org/QA/2002/04/valid-dtd-list.html 5/5