Getting started
OK, lets get straight into
it. Here, you will learn
just how easy it is to
create a web page. In
fact, by the time you've
finished withthisweb
page, you will have
created your ownweb
page! When you create a
web page you will usually
do something like this.
1.Create a HTML File.
An HTML file is simply a
text file saved with
an .html or .htm
extension (i.e. as opposed
to a .txt extension).
1.Open up your
computer's normal plain
text editor (this will
probably be "Notepad" if
you're using Windows or
"SimpleText" if you're
using Macs). You could
use a specialized HTML
editor such as
DreamWeaver or
FrontPage if you prefer.
2.Create a new file (if one
wasn't already created)
3.Save the file as html
example.html
2.Type the above code
(click to copy)
3.Save the file as html
example.html
3.View the result in your
browser.
4.Repeat the last 2 steps
until you're satisfied with
the resultIt's unrealistic
to expect that you will
always get it right the
first time around. Don't
worry - that's OK! Just
try again and again - until
you get it right.
Explanation of Above
code: OK, before we get
too carried away, I'll
explain what that code
was all about.We just
coded a bunch ofHTML
tags These tags tell the
browser what to display
and where. You may
have noticed that for
every "opening" tag
there was also a
"closing" tag, and that
the content we wanted
to display appeared in
between. Most HTML
tags have an opening and
closing tag.All HTML
documents should at
least contain all of the
tags we've just coded
and in that order.The
next lesson goes into a
bit more detail about
HTML tags.