Note: All files or directory names and characters you type into the computer are in courier font.
pubweb
This command runs a utility called pubweb, which does the initial
set-up and maintenance of your Web directory and files. It creates a subdirectory
in your home directory called public_html, which is where your
web page will be created. To see this for yourself, list your directories
by typing the command:
ls
cd public_html
pico index.html
This command opens the pico text editor with your filename at the top of the window. This is where you will type in the HTML code for your page.
Your page will contain a number of elements, such as headings, paragraphs
and links. HTML tags are used to mark these elements for your browser,
and a tag consists of a left angle bracket (<), a tag name,
and a right angle bracket (>). Tags are usually used in pairs,
at the beginning and end of an element. Note the start and end tags in
the following example heading, and that the end tag is preceded by a backslash
(/).
<H1>This element is a heading</H1>
Now that you know what these tags are for, let's carry on with your page file in the pico editor.
Head and Body
<HTML>
This tag tells the browser that this is an HTML file. (You will add
the end tag </HTML> at the end of your file).
<HEAD><TITLE>Put your title here</TITLE></HEAD>
The <TITLE> tag identifies your page for search engine
purposes, but will not be displayed on the page. <HEAD>
identifies this element as the head of the page.
<BODY>
This denotes the beginning of the body, containing the actual text for
each element.
<H1>Put the heading of your page here</H1>
This is the visible heading of your page.The size of the font is determined by the number within the tag, <H1> being the largest and <H6> being the smallest.
<BR>
<BR>
<BR>
This tag inserts a line break into the text. No end tag is needed.
</BODY>
</HTML>
Typing these end tags for the body and the HTML file now will allow you to view what you have done so far.
http://badger.ac.brocku.ca/~xx97xx
Your new Web page should be displayed, as it is so far. It should resemble the following screen:
(Note: Check the Troubleshooting section if your page is very different from the above page.)
URL this document: http://memebers.tripod.com/~ll94ac/TheBasicWebPage.html
Last revised: March 6, 1998 by D. Beens