What is Document Type Definition?
The very first line of every page on your site should be the DOCTYPE! Declaration which tells browsers and other user agents what kind of HTML it will find on the page.
There are lots of different kinds of HTML (e.g. HTML 4.01 Strict, HTML 4.01 Transitional, XHTML 1.0 Strict etc.) and if there is no Document Type Definition (DTD) then browsers will switch out of ‘Standards Compliant’ mode into ‘Quirks Mode’ with unpredictable results.
Having a DTD will not affect your ranking in the SERPs directly but if you use a markup validator to check the syntax of your HTML you can be sure that browsers and search engines will see what you intended them to see and not their best guess at your intentions.
Here is a link to W3C list of recommended DTDs that you can use on your pages. Using the example page structure from the Keyword Meta Tag post it should look something like this depending on your chosen DTD:
<!doctype HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<meta http-equiv=”Content-Language” content=”en”>
<title>Retail Store Fixtures and Retail Store Display Supplies</title>
<meta name=”Description” content=”All your retail store display requirements at discounted prices with next day delivery. An online catalog of retail store fixtures from G.Brown Company Inc.”>
<meta name=”Keywords” content=”store fixtures, store display, retail display, retail fixtures”>
<link type=”text/css” rel=”stylesheet” src=”/path/file.css”>
The content of your page goes here.
For further reading Jeffrey Zeldman (whose book is in the Essential Reading list on the home page) has a good article Fix Your Site With the Right DOCTYPE!