HTML Tags - Structure
After the <head> tags comes the main part of your HTML. Everything between the <body> and </body> tags is displayed in your browser. The <body> and </body> tags tell the browser that everything contained in them is the body of the web page and therefore they are container tags.
Example
<html>
<head>
<title>Title of page</title>
</head>
<body>
Hello World!
</body>
</html>
Each web page should have these tags. They give information to a person visiting your website, or information to search engines. Information placed between the <head> tags is not shown in the browser. The only way a general user can see this information is by choosing 'document source' from within their browser.
Example
<html>
<head>
...head content here...
</head>
....site content here....
</html>
Before we start with content, we have to tell the browser that the text file is an HTML document. We also need to tell the browser when the HTML document ends. This is done with the <html> and </html> tags.
EXAMPLE
<html>
site content here......
</html>
