Make your own free website on Tripod.com
HTML Tutorial #1

Day 1



HTML is possibly one of the easiest languages (some don't even consider it a language) in computing to learn. First of all, it doesn't have the strict spacing requirements of other programming languages. Second, it is very user friendly and readable, making easy to understand (ever looked at the script a word document accidentally? Ick...) The only downside, so far as I've noticed is that it doesn't accept line breaks when you press enter (covered later.)

First of all, the page we'll be making will be called helloworld.html, so pull out your notepad in windows (I don't know what's good for Mac's, but I've heard BBEDIT is decent) and save it as that name. Be sure to remember the .html extension on it so it will show up as a webpage.


Now then, on with the coding...

The very first thing you need to even make a small webpage is the <html> and </html> tags. Put them in now.

Okay, now here is the (possibly) confusing part of all of this. You have to put the <head></head> and <body></body> tags inside the HTML tags.

so here is what we have so far...
<html>
<head>
</head>
<body>
</body>
</html>

Okay, now put "Hello World!" in the <body></body> tags. So now our code should look like this:

<html>
<head>
</head>
<body>
Hello World!
</body>
</html>

Open it now and look at your first page! To see it, open it in your browser or click here.


Next lesson