You don't need a DOCTYPE but one day (in a universe far far away) you may. However, if you are just starting out, a strict HTML 4.01 DOCTYPE is the way to go:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
</body>
</html>
You may think your page looks OK without it and without validation but, that is probably just in one version of one browser (the one that you check your work in). To code effectively with no DOCTYPE across browsers is actually a more advanced technique than using the strict DOCTYPE and can have certain advantages. Coding with no DOCTYPE for only one browser is easy but, then your pages must be viewed in that one browser.
Bookmarks