You need to surround your entire web document with the ‘html’ tag: <html> to begin and </html> to end.
You need to surround the top of the document, or document information with the ‘head’ tag: <head> and </head>.
You need to surround the ‘body’ or meat of the document with the ‘body’ tag: <body> and </body>.
It’ll look like:
<html>
<head>
document information
</head>
<body>
the main part of the document
</body>
</html>