| |
- Log in to your Paradox account.
- After the initial messages, the
Paradox prompt will appear. Do not type "pine" at this
point as you may be used to doing.
- At the prompt,
type mkdir public_html and press enter. This creates
the new directory where your HTML files will be stored.
- Still
at the Paradox prompt, type cd public_html to change
to the directory that you just created. The prompt should
now read: Paradox:public_html.
- Now
type pico index.html which will open a file using
the text editor pico. This file will be the backbone of
your homepage.
- Now
you may begin typing the document that will be displayed
as your homepage in a browser like Netscape.
- All
HTML documents begin with the html tag. The tag looks like
this: <html> Type it now as the first line
of your document (be sure to include the brackets).
- The
next tag is the header tag. On the line following the html
tag, type: <head>
- On
the next line type <title> immediately followed
by the title of your document (should be descriptive of
the contents). Note: this is NOT what will appear on the
screen, but rather what will appear in the colored bar at
the top of the document window. Finish this line by closing
both the title and header tags by typing </title>
</head> and press enter.
- Now
type the body tag <body> and press return.
- At
this point, you will want to put a title at the top of the
document. Begin with the tag <h1> which stands
for the largest size heading (heading sizes range from 1-6
with 6 being the smallest). Type the text of the title and
then end the heading tag </h1>
- You
may now begin typing the body of your document. After every
paragraph, type the paragraph tag <p> so
that the browser will know to start a new paragraph and
leave a blank line.
- To
add a hyperlink to your document, that is to link your document
to another document on the web, you must know the document's
URL (Uniform Resource Locator) (looks like: http://www...).
Here are the steps to create a link to the University of
Pittsburgh's home page: 1)Begin the anchor tag with <a
href="http://www.pitt.edu/"> 2)Now type the text
to appear on the screen University of Pittsburgh.
This is the text that will be underlined and probably blue
when the document is viewed on the browser. When you click
on this text, it will lead to Pitt's home page. 3)Close
the anchor tag by typing </a>
- If
you want to add an image to your document, enter the image
tag where you want the file to be placed. The image tag
takes the form of <img src="name of image file">
. You should make sure that the image file is in the
public_html directory of your Paradox account before you
try to use it. (If the image is currently on a disk, see
the instructions to "ftp" it to your Paradox account.)
- When
you are finished with your document, begin a new line and
end the body tag by typing </body> . Finally,
finish the document by typing </html> and
press enter.
-
Now we need to save and test this file. Hit the control
and X key at the same time. Type y to save your file
in response to the first question; then enter the filename
as index.html.
- Now
the prompt should say Paradox:public_html. Type cd
to return to the root directory Paradox:loginname
where loginname will be your own login name. Now we need
to set the security on the system so that others may access
and view (but not change) your web page.
- Type
chmod 711 . and press enter.
- Type
chmod 755 public_html and press enter.
- Type
cd public_html and press enter.
- Type
chmod 644 * and press enter.
- Now
your document is ready for viewing. Note, if you add any
other text or image files to your public_html directory
in order to use them on a web page, you must remember to
change the security for them or you will not be able to
view them. From the Paradox prompt go into your public_html
directory by typing cd public_html. Then type ls
which will show you a list of the files in that directory
folder. Then type chmod 644 filename where filename
is the name of the file you would like to be able to use
or view.
- Logout
of Paradox and open Netscape. Place the cursor in the location
window and delete Pitt's address from the window. Then type
in the address of your home page which will be http://www.sis.pitt.edu/~yourloginname/
- Good luck! This will just set up a basic page. Some additional
tags you might try to use follow: <hr> (will
insert a horizontal line on the page leaving a blank space
above and below; does not need an end tag); <br>
(inserts a blank line without drawing a horizontal rule;
does not need an end tag); <center> (centers
the text between the tags </center>.
|
|