HTML Tutorial Chapter One

Creating a simple web page

In order to create a web page you do not need any fancy program. All you need is a simple text editor and a willingness to do a small amount of typing. Of course to be able to test the results of your efforts you will need to have a web browser of some sort (examples of these are Microsoft's Internet Explorer, Netscape's Navigator, Opera, Mozilla. The list goes on but these are the main ones). You can get the most popular web browsers free so there should be no problem in obtaining one that you like.
If you are using Microsoft Windows you can use Notepad. If you are using another operating system then I suggest that you look for another tutorial because I am not qualified to provide any instruction for other operating systems.
Start Notepad by clicking on the 'Start' button on the task bar, selecting 'Programs', 'Accessories' and then 'Notepad'. Then type in the following text:-
<HTML>
<HEAD>
<TITLE>hello</TITLE>
</HEAD>
<BODY>
Hello world.
</BODY>
</HTML>
Save the web page by clicking on 'File' and then 'Save'. Choose an appropriate folder to store your web page and save the page as 'hello.html'. This is how the page is displayed.
You will no doubt want to test your first web page so start up your favourite browser (If your browser is Internet Explorer then you would click on the 'Start' button on the task bar, select 'Programs' and then 'Internet Explorer') and click on the 'File' item on the menu bar. Select the 'Open' item from the drop-down menu and this should display the 'Open' dialogue window. Browse to the folder where you placed your hello.html, select that file and then click on 'OK'. This should display your new web page in your browser (see the example above).

Congratulations

You have now successfully created your first web page.
Did something go wrong?
If you got a page not found error (404) when you tried to open your web page then check that your page actually exists in the folder where you saved it.
If you saw a blank screen in your browser or if you had spurious characters in the display then double-check what you typed in to hello.html. It's very easy to make mistakes on even the simplest web page.