Next page | Contents page |

Exercise 1 - HTML page

Text editor

If your text editor is not very good we do recommend the one we used for writing this course: Notepad++ which is completely free (and we have no commercial links to it).


<html>
  <head>
    <title>My page</title>
  </head>
  <body>
    <p>A paragraph of text.</p>
  </body>
</html>
  1. Type this HTML (the same as on the previous page) into your text editor.
  2. Save it as a file called index.html (that is very often the file name for the home page of a web site, as stored on a server).
  3. Open that file in your browser (in Windows, double click on the file in Windows Explorer or My Computer).

You should see something like this:

Notice where (a) the title and (b) the paragraph have appeared.

Next page | Contents page |