TCM
UoC crest

Writing your own Home Page

(Before you make your own pages available on the WWW, there are a few legal restrictions that you should be aware of.)

Here follows a step-by-step guide to writing your own home page:

  1. Create a directory called `public_html' in your home directory.
    pc0:~$ mkdir public_html
    
  2. Create a file there called index.html with your favourite editor.

And that is it. If you wish to follow the TCM style, then there are two extra steps. Firstly, the skeletal file should look something like:

<!--#include virtual="/includes/head_personal.html" -->

<title>Page Title</title>

<!--#include virtual="/includes/menu_personal.html" -->

<h1>Page Heading</h1>

<p>Put your content here.</p>

<!--#include virtual="/includes/footer1_personal.html" -->

<p>Whatever text you want in the footer, and probably not
the standard acknowledgement to Drs Biggins and Conduit.</p>

<!--#include virtual="/includes/footer2_personal.html" -->

And secondly, to let the web server know that there are #include statements which need processing, the file must be executable:

pc0:~/public_html$ chmod +x index.html

When you think you have finished customising your home page, it is advisable check it out with a number of browsers (Firefox, Opera, possibly something from Microsoft, MacOS or even Android...)

The notes on simple markup for profiles of course apply to personal pages, but one might wish to extend them slightly to include images.

Other things you can do with Your WWW Pages

  • serve large files such as multi-media
  • control access to your pages (list and passwd, domain or Raven login), and index generation in your web directories
  • redirect them elsewhere
  • Other Information

    You may wish to check that the resulting page is valid HTML. For this, validator.w3.org will oblige. For CSS, jigsaw.w3.org/css-validator/ is the answer.