Tuesday 3 May 2011

HTML Doctypes


HTML Doctypes
A doctype declaration refers to the rules for the markup language, so that the browsers render the content correctly.

Example :-

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Title of the document</title>
</head>

<body>
The content of the document......
</body>
</html>

No comments:

Post a Comment