My First Webpage
Step
1. Open
up a text file
I
generally use the note pad program which in Windows XP is situated
on Start Menu, All Programs, Accessories, Note Pad.
Step
2. This is html
Type
in the following instruction:-
<html>
This instruction
tells the browser that it is dealing with a html file (hypertext
mark-up language file) which is a common file format on the www.
Step
3. Starting the Head
On the
next line type in the instruction:-
<head>
This instruction
tells the browser that the information following this tag is not
for display in the body of the text. Information held in headers
include - the name of the author, the title of the document, the
version of html being used and meta-tag information that was used
for indexing by certain search engines.
Step
4. Ending the Head
On the
next line type in the instruction:-
</head>
This instruction
tells the browser that it has reached the end of the header information.
This instruction
tells the browser that the following information is to be displayed.
Step
6. The Text
On the
next 2 lines type in the following instruction:-
These
instruction tells the browser to display the text "Hello World"
and then to end the body of the text.
Step
7. The End
On the
next line type in the following instruction:-
</html>
This instruction
tells the browser that the it has reached the end of document.
Step
8. The Recap
You should
have a file that reads:
<html>
<head>
</head>
<body>
hello world
</body>
</html>
Step
8. Save the file
Select File,
Save as and name your file 'test1.html' ( or some other more imaginative
name). Save it on the desktop ( or another suitable place) so that
you can find the file quickly.
Step
9. Viewing the File in a Browser
Find your
file on the desktop ( or where ever else you saved it) double click
on the file and watch your first webpage appear before your eyes!