Jump to: Search | Global Menu | Main Menu | Log on | Page Content | Side Bar | Footer
ITnews Friday, 25 July, 2008. 2:24 am. London time.  
       

 

ITnews Partners  Globe icon

 e-Skills logo. Opens web site in new window. SFIA Foundation logo. Opens web site in new window. FNX logo. Opens web site in new window. Skills for Business logo. Opens web site in new window. 

W3C DOCTYPE Declarations

   

The table below shows a list of valid DTDs you can use in your documents for validation against the relevant W3C standard. The left column provides a link to the standard itself, as well as links to the applicable DTDs.


HTML 2.0 

html.dtd

<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">

HTML 3.2 

html32.dtd

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

HTML 4.01 

strict.dtd 
loose.dtd 
frameset.dtd

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
  "http://www.w3.org/TR/html4/frameset.dtd">

XHTML 1.0 

xhtml1-strict.dtd 
xhtml1-transitional.dtd 
shtml1-frameset.dtd

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

XHTML 1.1 

xhtml11.dtd

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

MathML 1.01 

math1.dtd

<!DOCTYPE math SYSTEM 
  "http://www.w3.org/Math/DTD/mathml1/mathml.dtd">

MathML 2.0 

mathm12.dtd

<!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN"	
  "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd">

XHTML + MathML + SVG 

xhtml-math-svg.dtd

<!DOCTYPE html PUBLIC
  "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
  "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">

SVG 1.0 

svg10.dtd 

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
  "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">

SVG 1.1 Full 

svg11.dtd

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

SVG 1.1 Basic 

svg11-basic.dtd

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN"
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">

SVG 1.1 Tiny 

svg11-tiny.dtd

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN"
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">

XHTML + MathML + SVG Profile (XHTML as the host language)

xhtml-math-svg.dtd

<!DOCTYPE html PUBLIC
  "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
  "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">

XHTML + MathML + SVG Profile (Using SVG as the host)

xhtml-math-svg.dtd

<!DOCTYPE svg:svg PUBLIC
  "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
  "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">

 

Example Template

 

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" 
  xml:lang="en" lang="en">

<head>
  <title>An XHTML 1.0 Strict standard template</title>
  <meta http-equiv="content-type" 
    content="text/html;charset=utf-8" />
  <meta http-equiv="Content-Style-Type" content="text/css" />
</head>

<body>

  <p>... Your HTML content here ...</p>

</body>
</html>
   

Site Themes

You can select from different site themes to suit your preference...

Print This Page

Click to print.

This page is already printer friendly...