KISS HTML
You CAN write HTML code from scratch

Developing the "Head" tag or <HEAD>


As discussed in earlier tutorials, the basic web page contains the following parts:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 //EN">
<HTML>

<HEAD>
<TITLE>Cyberperson's First Web Page</TITLE>
</HEAD>

<BODY>
This web page belongs to Cyberperson
</BODY>

</HTML>

At this time we are going to develop the "HEAD" portion of the web page. Since the "Title" tag is an intergral part of all web pages, you may ask why anything else is necessary.
Primarily because the "HEAD" provides additional information to browsers, and also to Search Engines, such as Yahoo! and Lycos, should you want your web site to be found by search engines.
There are only a few elements which can be placed in the "HEAD" and they are instructional only - they do not display as part of your web page. However, "HEAD" commands are acted upon first, before anything in the "BODY" is accessed; for this reason, if you put a JavaScript in the "HEAD", it will be already running, before it is called for in the "BODY" section

NOTE: I will not argue that the "HEAD" can be very productive, and much more complicated. This is, after all, a basic discussion and will be kept to the very minimum of detail.

The most common tags used in the "HEAD" are:
<META> For Details, CLICK
<TARGET> For Details, CLICK
<SCRIPT> For Details, CLICK

Using the "Meta" tag
<META NAME="author" content="Your Name">
<META NAME="generator" content="Mozilla/3.0Gold (Win95; U) [Netscape]">
<META NAME="keywords" content="HTML,code,www,internet,editing,tags,etc.">
<META NAME="description" content="How to write HTML code from scratch, without an editor, using the most common HTML tags">

The "META" tags are usually found at the very top of the "HEAD" tag, and are right together, as above. They actually are pretty self-explantory.

The "author" tag contains your name.

The "generator" tag basically tells what program/software you used to develop your web page.

"Keywords" are those words which best describe your web page or web site. If your web page is about Labrador Retrievers, you might list keywords as:
dog,Labrador,Retriever,friend,K-9,hunting,working,black,golden,water
These are the words which someone might put into a search engine to find web sites devoted to dogs and more specifically Labrador Retrievers.

The next META tag will be a description of your site.
"Comprehensive information about the Labrador Retriever dog, its color, disposition, love of water, excellence as a hunting dog."
If the search engine lists your site, this information wiil let the surfer know what's on your site, before he clicks on the URL to go there.

JavaScript tag
<SCRIPT LANGUAGE="JavaScript">
</script>
If you are going to run a JavaScript on your page, the "Script" tag states that such is the case and the code follows. Then it is just a matter of placing the JavaScript in the body of your web page, where ever you want it to show up.

The "Target" tag
<TARGET="_top">
This "Target" tag allows a visitor to break out of a previous frame page, instead of dragging them around with him as he surfs to other websites.

This concludes the tutorial on building a simple web page using HTML.
The next lesson is instruction on how to FTP your Web page up to the Internet so it can be seen by everybody.
If you have a specific problem with anything in this tutorial, please send me an e-mail and I will try to help you out. If I can't help you out personally, I will try to send you to another web site, or source, which may have the answer.
E-mail icon

<- Previous | <- Main Menu | Next ->