Making a webpage requires several types of knowledge. You need to know what you want to say, what audience you are aiming at, how you want the layout to look, and how to tell the computer to do that for you.
First make an outline of what you want to say on your webpage. This should include
Title of the page (the topic)
Your name, course name and number,
date
Introduction to the topic
What experiment or observations
you did on this topic
A picture or two with captions
What other people say about this
topic (annotated links)
Summary of the information
(Be sure to document your sources!)
Address mailto
Bring this information with you on a floppy disk, please.
1. Getting Started:
First, let's open the file we will use (the page source). Login to
your account. The keystrokes are different on Alpha and on Pegasus, so
skip to the section which is relevant to you.
Pegasus:
Make a directory called public_html by typing
mkdir public_html
Change the permissions on your public_html directory by
chmod 711 public_html
Change to that directory by
cd public_html
Open a text editor of your choice, type your name, and save
the
file as index.html in the directory public_html
Change the protections on this file to allow others to access
it
chmod 655 index.html
Your webpage URL will be
http://www.csam.montclair.edu/~username
Alpha:
$ FAQ
Choose "how to make a webpage" and follow directions.
Make a subdirectory called WWW.DIR by typing
@MSU$COM:SETUP_WEB
This will also make a file in this subdirectory called index.html
with the proper protections
Open a text editor of your choice and type your name in this
new file.
For example,
EDIT index.html
Save the file (<control> z)
Your webpage URL will be
http://alpha.montclair.edu/~yourusername
ftp://pegasus.montclair.edu/home/students/yourusername/public_html/index.html
yourusername
yourpassword
Click publish.
For alpha you need to copy and paste into the file index.html. You can't
publish by the button because the path name changes.
Save the file by typing
(<control> z)
Go back to the Netscape Navigator page and type in for the URL
http://www.csam.montclair.edu/~yourusername
(or http://alpha.montclair.edu/~yourusername)
Cool! You have a webpage.
The body of your file will contain the real content you wish to publish,
so after the title line put
<body>
and then near the end of the file (but before the last line which turns
off html) put
</body>
Now you can add some real content to your document. Go back up the file and after <body> type your first paragraph and save the file. Open a window for Netscape and position it so that you can see some of the editing window at the same time. Type your URL in the Netscape address box. Voila! Whenever you want to see what effect your changes have, save the file, then press Reload or Refresh in the browser window.
| <p> | new paragraph | |
| <br> | break (another white line) | |
| <hr> | horizontal ruled line | |
| <b> | </b> | bold |
| <em> | </em> | emphasis (usually italics) |
| <u> | </u> | underlined |
| <center> | </center> | centered |
| <h1> | </h1> | big font |
| <h3> | </h3> | smaller font |
| <blink> | </blink> | annoying blinking |
Some tags work to organize text into lists.
| <OL> | </OL> | an ordered list, it supplies numbers to list items |
| <LI> | a list item | |
| <UL> | </UL> | an unordered list, it supplies bullets to list items |
Some tags allow you to pass to another website (URL)
<a href="URL"> nameappearingunderlined </a>
For example, to go to Mary Lou West's page with the words "favorite
astronomer" appearing as the underlined link, type
<a href="http://www.csam.montclair.edu/~west"> favorite astronomer
</a>
To go to Matt Gorring's page type
<a href="http://www.csam.montclair.edu/earth/eesweb/gorring.html">
cool geologist </a>
A webpage should not be longer than one or two pages when printed. Further
information should be a new file linked to your main page. In pegasus accounts
save your further webpages as filename.html in the directory public_html.
You must change the protections on each file to allow others to access
it by
chmod 644 filename.html
To make a table:
1. Go to File menu and open a blank page in Netscape Composer.
2. Place the cursor where you want to place a table. Go to Insert
menu, choose Table.
3. A window will pop-up for you to input data to format the table you
are inserting. At the top, type in the appropriate number of columns
and rows you want. If you simply want to split the screen in half,
use the default values (1 row, 2 columns).
4. The rest of the menu is for formatting purposes. You will have to
experiment with these options until you get something you like!
5. Pick the parameters you want and click the OK button.
6. To edit an existing table, place the cursor in one of the cells
of the table and go to the Format menu, scroll down and click Table Properties.
7. To add rows, columns, or cells in an existing table, place the cursor
in one of the cells of the table and go to the Insert menu, scroll down
to Table and follow the menu options.
8. To delete rows, columns, or cells in an existing table, place the
cursor in one of the cells of the table and go to the Edit menu, scroll
down to Delete Table and follow the menu options.
Other Table "Tricks"
1. Inserting pictures into tables.
Go to Insert menu, scroll down to Image. You will get
a pop-up menu that assists you with importing and formatting. First,
click on the Choose File button to find your image that you want to insert.
Second, click on the desired text alignment and wrapping options.
Click the OK button.
To edit the picture, double-click on the desired picture.
The pop-up menu for editing the picture properties will come up.
Make sure the Constrain button is checked to ensure that you don t deform
the image. Change the number of pixels in either the width or height
box to re-size the image.
2. Embedding tables within tables.
You can format individual cells within a table by inserting
(embedding) another table within it. Just place the cursor in the
desired table cell and go to Insert menu, choose Table.
3. HTML code for tables.
| <TABLE BORDER=0 WIDTH=100%> | </TABLE> | make a table |
| <tr> | </tr> | a table row |
| <td> | </td> | a table data item |
Adding Pictures:
An html tag which shows an image of a file in jpg or gif format is
something like
<IMG SRC="photofilename.jpg" HEIGHT=200 WIDTH=300>
Photos can be from digital cameras or from scanned images.
Interesting clip-art and background patterns can be found at
www.yahoo.com
WWW (under Computers and Internet)
Page Creation
Design and Layout@
Graphics
Cool Archive
To save one of these images to your floppy disk or computer, click
with the right mouse button on the image, then select Save Image As, and
save it to A: or your computer. Keep the extension the same (.jpg or .gif).
A Mail-to:
A tag which allows someone reading your page to send you an e-mail
message is
<a href="mailto:yourusername@alpha.montclair.edu"> your name </a>
It is considered good manners to put this mailto tag at the bottom of your page, as well as a statement as to when the page was most recently updated.
Sometimes you can get good ideas from other people's webpages. When you see a feature you like pull down View, Page Source, then scroll down to see how that person made it happen.
Enjoy!!