|
What
do you need to create your own web page?
You'll need an ordinary
text editor like Notepad (in Windows) or SimpleText (in Macintosh).
Open up this application and create a new, blank document. If
you're using Notepad, it should look something like this:

Now let's add some
lines of code. Add the following lines exactly as they appear
below:
<html>
<head>
</head>
<body>
</body>
</html>
Your display should
look something like this:

Okay, now you should
save your new page. Go to the File menu and choose "Save
As"
Choose a place to save
your document (preferably on your computer's Desktop so it'll
be easy to find) and give it the name test.htm (or, if you're
using a Macintosh, test.html)
Minimize your browser
and find that document on your hard drive. You'll note the icon
for it now looks something like the icon for your web browser.
Double-click on it to open it. You should get a screen that looks
something like this:

Not too exciting, is
it? But it is your first Web page.
The lines of code shown
above should almost always be the first lines you add into a Web
page.
There are exceptions
you'll run into when you create more advanced pages, but for now,
any time you create a new Web page, you should always start with
the lines of code shown above.
The code you entered
may not make much sense right now, but we'll be discussing it
in detail, starting with the next part: An introduction to
"tags."
|