So that your site can be properly validated for standards - each page on your site requires a document type declaration which begins at the top of every XHTML page and and tells a validator which version of HTML to use in checking the document's syntax.
The 2 most popular DOCTYPEs i have seen for developers wanting to accomplish 100% validation is:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
and
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Where the first one declares the page
XHTML 1.0 Strict and the second one declares the page
XHTML 1.0 Transitional.
Of the 2 i personally use Transitional more as i find it alot more friendly when coding complex sites in 100% CSS.
There is also HTML DOCTYPEs for developers not using XHTML but now adays i think every one serious about Web Site validation is using XHTML