Before beginning this section you need to have created your first page with the help of the previous section.
So you now have a directory containing an index.htm file which is your home page. We will now modify this page in the following way:
<html>
<head><title>my home page</title></head>
<body>
Hello, welcome to my home page, here is my first page:
<a href="page1.htm">here</a>
</body>
</html>
In the same way you can create a page called
page1.htm (be careful: no capital letters) that contains the following text:
<html>
<head><title>my home page</title></head>
<body>
Here is my first page, go back to the home page:
<a href="index.htm">here</a>
</body>
</html>
So now you have two pages, open the first one. It has a link in it. If you click on the link you can access the next page and vice versa.
You have just created a website with two pages in it and a link allowing you to navigate from one page to the other. A website is nothing more than a collection of html pages containing text and images, and links allowing you to navigate from one page to another.
If you want to learn the basics of html take a look at
this to get to grips with the possibilities this language offers, and see how to improve the presentation of your pages.
Be careful: the colors and underlining which appear in the examples above are there to help make the explanation clearer - in notepad, everything will be in black.