HTML Chapter 2




Skip to Chapter   1  2  3  4  5  6  7  8 

                                                              Chapt 2 -- HTML's Structure






Tags

A tag is anything between < and >.
Consider the following list:
<html> is a tag
<head> is a tag
[head] is not a tag
Hopefully that gives you a better understanding of tags and what they are.

<HTML>

The <HTML> tag is what tells the brower that you are going to be entering  HTML code.
In order to tell the browser that you are not going to use HTML any more you would use the </HTML> tag.

For example:
<HTML>
  This is HTML(HyperText Mark-up language).
</HTML>
This is not HTML.

<HEAD>

The <HEAD> tag has all the information that is not visible on your page.
Conversely, the </HEAD> tag stops the information from being read as invisible information that makes your page do stuff.

You would put the <HEAD> and </HEAD> tags inside of the <HTML> and </HTML> tags.  Your code should look something like this:
<HTML>
  <HEAD>
  </HEAD>
</HTML>

<BODY>

The <BODY> and </BODY> tags indicate to the browser that anything inside of them should be displayed on your page.

For example:
<HTML>
  <HEAD>
    
  </HEAD>
  <BODY>
  </BODY>
</HTML>

Most of your code will be in the <BODY> tag, very little if any will appear in the <HEAD> tag.

Now we're getting into the fun stuff!
Chapter 3 talks about How to make, arange, and color text.
getting started getting html text