Login for Software or Support

CoffeeCup - HTML Editor, Flash & Web Design Software

Over 49,068,745 Downloads in 87 Countries

Tell a Friend About Our Cool Software

Buy the Book Here !

Chapter 2: Basic HTML Document Structure


Any and all HTML documents have a certain basic structure that must be adhered to, as follows:

  • The entire document is enclosed in <html> tags.
  • The second tag in the document is the <head> tag. This tag is used
    to contain other tags which hold information about the document, such as its title. Items in the <head> tag are not displayed to the user.
  • The <head> tag is followed by the <body> tag. The <body> tag contains the document content.
The simplest possible HTML document is made up of these three tags as shown here:

<html>
<head>
</head>
<body>
</body>
</html>

This document is empty, and if loaded into a browser will simply display a blank page. But this is where every HTML document starts, and if you're creating a new document from scratch you might as well start by putting these tags into it because they are required.


Table of Contents
Download Our Software:

... and don't forget about our Free Software

CoffeeCup Home Page | Software | Copyright & Legal | Site Map | © 1996 - 2008 CoffeeCup Software, Inc.