Basic Structure of HTML


The first thing you should learn about HTML is the basics of how to setup a page. HTML "tags" or commands are surrounded with . You always put the tag in brackets or it will not be read by the web browser. For nearly every tag that you begin, you must also end. To end the tag you simply put a slash before the tag: . An example would be bold text. At the begining of the text you would type <B> followed by the text that you want bold and then ended with </B> Not all tags need to be ended, but most do.


The basic HTML for a web page:

<HTML>
- This tag says that you are beginning a page of HTML, it is ended with </HTML>


<HEAD>
- This tag contains any header information such as the title, meta tags, or anything else "hidden."
<TITLE>
- This tag is somewhat obvious. This is where you type the Title of your web page.
<BODY>
- This tag must come after you close the </HEAD> tag. The body is what the viewer of your web page will see. This is where your site's contents begin. This tag can also contain the background image, the background color, the text color, the link color, the used link color and the activated link color. BACKGROUND, BGCOLOR, TEXT, LINK, ALINK, VLINK.
A basic page setup:

<HTML>
<HEAD>
<TITLE>
Joe's Web Page</TITLE>
insert any meta tags (optional)
</HEAD>
<BODY>

Your site's images, text, etc. All of the content of your site goes here.

</BODY>
</HTML>