Lesson
#1
Each of these below is called a tag. There is
a starting tag and a closing tag, and to make a closing tag, you just add
an / to the starting tag. Note, most, but not all tags have a closing tag.
Think of browsers such as Internet Explorer and Netscape Communicator.
The tags give them instructions by telling them what to display. The HTML
tags below tell the browser that
<html>
is the start of the HTML document, and that </html>
is the ending of the HTML document.
<html>
</html>
Every HTML document needs a pair of HEAD tags.
<html>
<head>
</head>
</html>
The only thing we need to use in the HEAD tags,
for now at least, are the TITLE tags. Use these to give your document a
title. (Example: Look up at the title bar of your browser, see where it
says "The Web Design Continuum-HTML Tutorials-Lesson #1"? Well that is
what you put between the TITLE tags, what you want your page to be called.)
<html>
<head>
<title>My own web page!</title>
</head>
</html>
Next come the BODY tags.
<html>
<head>
<title>My own web page!</title>
</head>
<body>
</body>
</html>
Ok, now everything that you are going to want
to be visible to surfers of your page goes between the BODY tags.
<html>
<head>
<title>My own web page!</title>
</head>
<body>
Everything visible to surfers of your web page
</body>
</html>
All of this together should look like the following:
<html>
<head>
<title>My own web page!</title>
</head>
<body>
Everything visible to surfers of your web page
</body>
</html>
Ok, that is the basis of any HTML document, meaning
it contains the minimum required information to be a web document, and
all HTML documents should contain these basic tags. Now, on to Lesson #2! |