Step 4

Staring at a blank page is always the hardest part, but with your page
already laid out on paper it isn't nearly so difficult as it may seem.

All of the words, and commands, and links, and stuff that we will be
writing for our webpage are called 'Source Code'. The language we will
be writing our source code in is called 'HTML' which is short for 'Hyper
Text Markup Language', and is the language read by all web browsers.

Once you get used to it, it is not too awful much different than English.
If you use fairly poor grammar, you will like html. It uses all of those
short, choppy, little sentence fragments your 3rd grade teacher never let
you get away with. We are, in a sense, writing a note to our computer to
tell it what we want it to do, and nothing more. Always remember that
the computer is dumber than you are. It can not think. It doesn't know
anything until you tell it something, and it believes every word you say,
even when you are wrong.

Remember the 'greater than', and 'less than' symbols from your old math
class? They are on your keyboard above the period, and the comma keys.
In HTML those are used as brackets. Anything inside the brackets will
be treated as a command by the computer. A command written inside
those brackets is called a 'tag'. Anything outside the brackets, between
the tags, will be visible to the people who visit your web page.

For the purpose of this course, when I want to show you a sample tag,
I will use a different style of bracket, like this [ ] in order to make it
easier for me to tell the difference between sample code, and the real
code I am using to create this page, or I can show you a screen shot of
the real tags. I will be doing both in the examples for this course.

Everything in html has a beginning and an end tag. It is like Simon says...
Simon says do this...Simon says stop doing this etc. The beginning tag is
just a word in brackets. The end tag is the same word in brackets with a
slash in front of it, (the forward slash, on the key with the question mark,
like this / , not the backslash, which faces the other way, like this \ .)

For Example, if I wish to center something on my web page, the tags
would appear like this...

[center]The words between the tags would be centered, and
visible on the page.[/center]

Ready to write some code, go to Step 5

Back to the Beginning