UKOLN logo NOF-digitise
Technical Advisory Service
2001 - 2004 archive
nof logo AHDS logo

Compliance Corner

Compliance corner comprises a series of issues that have arisen in the context of projects meeting technical standards. This page covers:

DOCTYPE Declaration

Existing advice may be found at :
Website FAQs list.
NOF-DIGI email archive

Every HTML or XHTML page on your website has to carry a statement called a document type declaration, or DOCTYPE, if it is to be correctly validated. Such DOCTYPE declarations are needed to ensure that browsers pointed at each (X)HTML page correctly interpret the mark-up it contains, i.e. the 'flavour' of HTML or XHTML being used. Without a DOCTYPE declaration, your pages may not be correctly displayed by a sufficiently wide range of browsers.

It is important to identify at the very top of every (X)HTML page the document type definition (DTD), that your DOCTYPE declaration should be naming. To see examples of DOCTYPE declarations, go to HTML version information at :
which provides descriptions of the purpose of the different kinds of DTD.

See also:
Document Conformance
W3C MarkUp Validation Service

Return to Compliance Corner contents 

This page was last updated on Monday, May 09, 2005

UKOLN is funded by MLA, the Museums, Libraries and Archives Council, the Joint Information Systems Committee (JISC) of the Higher and Further Education Funding Councils, as well as by project funding from the JISC and the European Union. UKOLN also receives support from the University of Bath where it is based.

T A S : 2 0 0 1 - 2 0 0 4 : A R C H I V E
This page is part of the NOF-digi technical support pages
The Web site is no longer maintained and is hosted as an archive by UKOLN.
Page last updated on Monday, May 09, 2005