HTML Encyclopaedia

Basic Page Structure

A normal HTML page will consist, in outline, of the following sequence of tags

<!DOCTYPE HTML PUBLIC "-//W3C// DTD HTML 3.2 Draft//EN">
<html>
<head>
<title>
..........
</title>
</head>
<body>
..........
..........
</body>
</html>

Many of these tags are actually optional.

Most browsers will not have any problems if the </body> and </html> tags are omitted, even if the associated opening tags are included. The effect of putting anything after these tags is uncertain.


See also <!, <body>, <head>, <html> and <title>,