Before you can publish an html file in your Web server space on the
George Mason University server, mason, you must first create your
public_html
directory and set permissions. Remember, your home page
file must be named index.html. Knowing the basic Web page commands
helps you understand how html tags work and gives you control over your
own Web creations. Using an html editor, like Netscape Composer, can make
it easier to create long documents with lots of links and graphics and
documents with tables. These instructions are merely an overview
and are not meant to be comprehensive. Programs like Dreamweaver and Microsoft
Front Page can help you do more complex things, like create forms and frames.
After you create a new Web page or edit an existing
one, you then need to send it to your public_html directory by publishing
it.
Create a new Web page:
1. Click on the File pull-down
menu (top, left-hand corner), select New. Then
select one of these three options:
-
Select Blank Page to start from scratch.
-
Select Page From Template to connect
to Netscape's server and choose a template to modify. Then, click
on the File pull-down menu and choose Edit Page.
-
Choose Page From Wizard to connect
to Netscape's server and answer a simple set of questions to create a Web
page. The Wizard is a great way to start a basic page.
OR: From the bar
in the lower, right-hand corner of the screen, click on the
icon.
A blank "page" composer page looks very much like
a blank wordprocessing page. You can bold, center, change
font
style
and
size, insert
images, etc., just as you can in a wordprocessor. Indenting does
not work as in a wordprocessor. Notice the alignment "buttons," which allow
you to justify left, right and center text.
The color
of text can be changed
by highlighting the text and then clicking on the Format
(near the top of the Composer window) or right-clicking on the highlighted
text and selecting Character Properties. Click on the
color box and select the color. You can also choose a custom color
setting.
You can change page colors and properties
(such as color of links) by selecting the Format option,
then Page Colors and Properties.
Edit a Web Page that has already been published:
Click on the File pull-down menu
and choose Edit Page. Save the page (click on the File
pull-down menu
and choose Save or Save As)
to your hard drive or diskette drive.
Basic functions:
Format options
Web-specific formatting tags
(below the
File and Edit options on the Toolbar)
can be selected from a list of options in the pull-down menu. The
options let you format headings, list items, italicize addresses, etc.
Try them out and see the results.
Insert Links
Type in the name of the Web page you want to
link to. Highlight the name, then select the Insert command
from the menu at the top of the Composer window. Then copy and paste the
Web address (URL) in the box. Or select the Link icon (chain) from the
menu bar.
Insert Images
Press the Image button to insert an image...
or click the Insert pull-down menu and select Image. Then
select Choose file. Find the location of the image file (It
needs to be in .jpg or .gif format). Be sure the "Leave
image at original location" is not checked.
Then select OK. The image must be sent to your public_html
directory
space. It does not automatically transfer when you send your HTML file.
Align Images
Right-click on the image that you inserted and
select Image Properties. You can select left, right or
center alignment and other options. You can also select
options to adjust the relationship of your text to an image. Experiment
with the choices to see the effects.
Insert a Table
- Place the cursor where you want the table to
appear. Select the Table icon or click on the Insert
pull-down menu and select Table. You can select a border or
no border, the number of rows and columns, the alignment, size and color
options.
- To insert or delete rows or columns,
insert the cursor in the row above the one you want to add. Right
click with your mouse. Then select insert or delete and choose
the appropriate option.
- To readjust a table, right-click
anywhere in the table and select Table Properties. You
can change the relative size of cells, size of table, etc.
Spell check your Web page
Click the on the Tools pull-down
menu at the top of the screen and select Check Spelling.
Preview Your Web Page:
Save any changes by pressing the Save
button. Then, press the Preview button (or from File
menu, select Browse. A Navigator browser window will open
displaying the page (the Composer window will stay open behind).
View or Edit the HTML Code:
To create HTML documents with Composer, you do not
need to know HTML. But if you do, you can have control over your
html material and "tweak" things. HTML editing programs do not always
produce the results you want.
To view the HTML source code which Composer is
creating, select the View menu at the top of the screen and
select Page Source.
To edit the HTML source of the page you are creating
in Composer, select Tools, then HTML Tools,
then Edit HTML Source. Select Apply to
save your changes.
[If you get a message that says "No editor selected,"
you will have to locate the notepad.exe or wordpad.exe file on your hard
drive and select this as the editor. To do this, click on the Edit
pull-down menu and select Preferences. From the options
in the left frame, click on the + (plus sign) in front
of the word Navigator and select Applications.
In the frame on the right, scroll down until you find Hypertext Markup
Language. Highlight it and press the Edit button
on the right. Click on the Application button and then
click on Browse button. Locate the editor of your choice,
for example, notepad.exe or wordpad.exe, and double click on one
of those .exe files to set the editor.]
Publish Your Web Document
(put
a copy in your public_html Web directory on mason):
Warning: When you publish a new
version of an old file, your original file will be
overwritten
if it has the same name. So keep a copy of your old file until
you are sure the replacement is satisfactory.
Publish using file
transfer protocol with the WSftp
program. [Before you can publish an html file in your Web server space
on the George Mason University server (mason), here are directions
to create your
public_html directory and set permissions.
Remember, your home page file must be named index.html.]
Congratulations! If you followed all of these steps, you have created
your home page. Now checkout your new home page at: http://mason.gmu.edu/~username
(Substitute
"username" with your GMU computer account user name. Don't forget
to preceed your user name with the ~ symbol.)
Resources:
|