Lesson 1: Basic HTML Tags
(Tag Etiquette)

One technique for insuring correct tag nesting is to indent the source code for each new tag. However, don't use this technique with preformatted text, as it can affect your results.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
 <title>Welcome to HTML</title>
</head>

<body bgcolor="#bdbdbd" text="#000000">
   <p>

      <center>
         <h2>
         Welcome to the world of HTML!
         </h2>
      </center>
   </p>
</body>

</html>