HTML WEB DESIGN

 

separator-blank.png

 

GUIDE – HTML TEMPLATE

 

All HTML documents have the following template.  You should always start with the following:

 

 

<html>

<head>

</head>

<body>

</body>

</html>

 

 

A FEW DETAILS ABOUT TAGS

 

  • Each line above contains one tag.  A tag starts with the < symbol and ends with the > symbol.

  • A tag can be an opening tag or a closing tag. 
    • The <html> tag is an opening tag.
    • The </html> tag is a closing tag.  Closing tags have a / symbol in them.
    • Everything between the <html> and </html> tags is inside the html section.

 

A FEW MORE DETAILS ABOUT THE TEMPLATE

 

  • All the content of your web page is to appear in the body section.  So it is to be placed between the <body> tag and the </body> tag.

  • The head section of the document contains information about the document, not information that is to appear in the document.  We will put little information in this section for now.

  • Notice that the head and body sections are inside the html section.  Also notice that the head section appears before the body section.

 

VIEW THIS PAGE

 

  • If you view this page (containing the template above) in a browser, it will be an empty web page.