The purpose of this lab is to give youexperience using
HTML to create your own personal Home Page on theInternet. To use
FTP to transfer a graphic file and incorporate thatgraphic file in your
personal Home Page.
Part 1: Create a Web page stub
-
At the $ prompt enter MAKEWWW This will create abasic Personal Home Page.
This will create a file called Index.html in a newdirectory WWW. All files
which are to be included on your page need to residein the WWW directory.
-
When you execute the command MAKEWWW youwill be asked your name. This
will provide your name in the title of the Homepage.
-
To edit the file INDEX.HTML, do one of twothings:
-
Use the Notepad to create another INDEX.HTMLfile containing the revised
home page.
-
Or use eve to edit th efile.
Part 2: USING FTP todownload a graphic
-
Click on the STARTmenu.
-
Click on RUN, then enter FTP in the window and clickOK. This will
start a FTP session.
-
At the FTP prompt enterthe following: OPEN Alpha.cerritos.edu
and pressenter.
-
At the next prompt enter ANONYMOUS and pressenter.
-
At the next prompt enter your user ID.
-
Younow have an active FTP session going. Type BINARY at the FTP>
prompt andpress enter. This will put you in the Binary mode needed
to transfergraphic files.
-
You may download either or both of these filesanim.gif and/or earthani.gif
-
At FTP> enter GET and pressenter.
-
At the remote file name prompt enter either of the files(anim.gif or earthani.gif)
and press enter.
-
At the local prompenter a:\anim.gif or a:\earthani.gif
and pressenter. This will transfer the graphic file to your diskette
in the a:drive.
You may do either Part 3, Part 4, or Part 5:
Part 3: USING WINDOWSNotepad
-
You can use notepad or otherwindows based editor to create/edit the INDEX.HTM
file. Note that the fileonly has three (3) letters in the extension. PC's
don't allow four (4) lettersin the extens ion.
-
Download the portion of Lab 8 containing thecode for the home page and
name the file INDEX.HTM file. The INDEX.HTM fileshould be created on your
diskette. The HTML source code is available at thebottom of this document.
-
Using Anonymous FTP, download eitheranim.gif or earthani.gif graphic file
to your diskette from the CerritosCollege's anonymous FTP site.
Instruction to do this are included inPart 2 of this lab . This
graphic file will be included on y our homepage.
-
When you have finished creating the home page you will needto upload the
HTML and graphic files to your WWW directory.
-
Youcan either use cut and paste to up load the HTMl file, FTP to upload
therevised Index.htm file to your [.WWW] directory, or use the PUBLISH
functionof Netscape Comunicator. You will need to use FTP orNetscape
Communicator PUBLISH function to upload the graphicfile.
Part 4: USING EVE
Two methods of editing and creating your new home pageusing EVE. Note
that the graphic file will need to be uploaded into your WWWsubdirectory.
-
Method A: The file is on the VAX and use EVE toedit.
-
At the $ prompt type the following: EVE[.WWW]index.html This will call
into the editor the INDEX.HTML located in theWWW sub directory.
-
Make the needed additions and changes to thisfile.
-
When you have completed the changes type CTRL-Z to saveand exit EVE.
-
At the $ prompt type LYNX to access the web. On theCerritos College move
down to the link to Student home pages and otherinformation.
-
Take this link. Navigate through the screens untilyou access a list of
student home pages. Move down to your name and take thelink. View your
home page. Check to see that it is working correctly. If it isnot working
correctly return to EVE and correct the errors and repeat untilthe home
page is d own.
-
Method B:
-
At the $ prompt type SWING
-
Move your arrow to theWWW directory and press enter.
-
Move your cursor to the fileINDEX.HTML
-
Press the space bar to select the INDEX.HTML file.Then Press 'E' for edit.
This will call in the editor. Then press 'Y' to thefirst question and
'T' for type of editor. You are now ready to edit the filein EVE.
-
Continue with the steps 3-5 from the above instructions.
Part 5: Using Netscape Composerto edit your home page
-
Open the page(INDEX.HTM on your diskette in the A: drive) inNetscape
Composer.
-
Open NetscapeCommunicator
-
Click on 'Communicator'
-
Click on 'PageComposer'
-
This should bring up your initial home page in theeditor.
-
Edit the text portions of the page which needchanging. For example:
The tit le of the page, the first paragraph, andthe hobbies/Interest.
-
Go to the section where you will be eitherchanging or editing the links.
-
With your cursor atthe end of the last link 'Press Enter' to create a
new item.
-
Nowclick on the link icon on the toolbar.
-
This will allow you toenter the link and text for the link.
-
You are to add at least 2different links than are found on the sample
home page.
-
If youwa nt to remove the Yahoo and White house links, highlight them and
pressdelete.
-
To change the background color or image do thefollowing:
-
Click on 'Format'.
-
Click'Page Colors and Properties'
-
This will take you to the page tochange these features.
-
Remember that the background you want touse must be on your diskette.
-
To insert images do thefollowing:
-
Place your cursor w here you want animage.
-
Click on 'Insert.'
-
Click on'Image.'
-
You will be asked to insert the name of the image fileand its relative
position. Complete this screen. Remember that theimage file
must be on your diskette.
Part 6: Editing and Testing your home page
-
With the revised code for your home page on yourdisk, open Netscape Communicator
(or another version of Netscape).
-
Click on 'FILE', then select 'OPEN PAGE'. This all9owsyou to view and
test your home page. If you find areas which require changinguse one of
the following methods to edit the file.
-
'Hot Key'over to the Notepad or use click FILE then EDIT PAGE button in
NetscapeCommunicator. Modify the page and save the page. If you are using
NetscapeCommunicator click 'Preview'. You will be asked if you want
to save thechanges, click 'Yes.'
-
If you e dit the code using Notepad,you will need to reload the code to
see the changes. Or open the file again toview the new version.
Part 7: Uploadingyour file(s) to your Alpha (Cerritos College) account
Use one of the following methods:
-
Method 1 - Use cut and paste to upload the home page file. Toupload the
home page to your WWW directory follow the instructionsbelow:
-
Atthe $ prompt type SWING
-
Move your cursor to the WWW subdirectory, then press ENTER.
-
Move your cursor to the fileINDEX.HTML and press the space bar.
-
Press 'C' and press enter tocopy this file to a second copy.
-
When the directory appears pressEnter again. This will create a second
copy of the file.
-
Whenyou look at the directory of your WWW area press the space bar to
remove thehighlight from the INDEX.HT ML;1 file.
-
Now move your cursor tothe INDEX.HTML;2 file and press the space bar.
This will highlight the copy ofthe file. Make sure that you only have
one file namehighlighted.
-
Press 'E' to edit the file, then Press 'Y' followedby pressing a 'T' to
select your editor. This will place your file inEVE.
-
You will need to delete all the information form this fileor insert the
new sections of your web page into this page.
-
Youcan paste (as in previ ous labs) into this page in part or in whole..
EnterCTRL-Z to exit and save the new file.
-
NOTE: You willneed to use method 2 (FTP) to upload thegraphic
file.
-
Method 2 - Use FTP to upload the index.htmhome page file.
-
Click on 'Start'. Then clickon RUN.
-
Type FTP in the window and click OK.
-
Enterthe following: FTP>open alpha.cerritos.edu
-
At the ID type in youruser ID and then your password when requested.
-
You will beconnected to your Cerritos college account.
-
You need to change tothe WWW directory. Type the following command.FTP>CD
[.WWW]
-
Make sure your diskette is in the a: drive. Typethe following command.
FTP>put and pressENTER
-
LOCAL-FILE>a:\index.htm and pressENTER.
-
REMOTE-FILE>index.html and press ENTER. This will place
the file in your WWW directory and chang e its name to theHTML extension
in one step.
-
The above command will place a copyof your home page in the WWW directory.
To check type FTP>dir
-
Toupload images including graphics, backgrounds, etc. type thefollowing
command:
-
FTP>BINARY and press ENTER. Thiswill change from ASCII mode
to BINARY mode.
-
Now repeat steps g,h, and i above for each image. Make sure you
substitute the correctimage name in place of index.htm and for the remote-file
name it is the sameas the local-file name.
-
If the above commands were successful youneed to exit FTP otherwise you
need to repeat the abovecommands.
-
Method 3 - Using NetscapeCommunicator
-
Open the INDEX.HTM file (on your disk)in NetScape Composer.
-
To do this click onCommunicator.
-
Select 'Page Composer.' Then click on theOPEN icon and select INDEX
and click OK.
-
You are now in the Editmode. You can modify the code to meet the requirements
of thisassignment.
-
When you are ready to upload to your home page usethe PUBLISH function.
-
While in the Composer Click on the FILEthen PUBLISH.
-
This will bring up a screen that needs to becompleted as follows:
-
PublishingLocation
-
Upload files to the location
-
User Name
| XXXXX001 (where this is your UserName) |
-
Password
| Type in your password here. It will not display. DO NOT SELECT TOSAVE
YOUR PASSWORD. |
-
Then Click OK. This willupload all the files to your root directory. This
will include your home pageand any images files referenced on this page.
Netscape Composer'sPublish function uploads the file into your root directory.
You will need tolog into your Cerritos College account and move INDEX.HTML
(and any images) toyour [.WWW] directory.
Part 8: Making the revised home page the view ablehome page.
-
Log into the VAX. Enter Swingat the prompt.
-
Change to the WWW directory and pressenter.
-
Use the space bar to highlight the file namedIndex.html
-
Enter 'R' to rename the file. The new n ame should beINDEX.OLD This makes
the file a backup file.
Part 9: VIEWING your web Home Page.
-
Prior to viewing your revised home page, switch tothe Netscape session.
-
Click on OPTIONS. Click on NETWORKPREFERENCES.
-
Select CACHE. Click on CLEAR DISK CACHE NOW, thenclick on CLEAR MEMORY
CACHE NOW. Then click on OK.
-
Go to thesession in which you are running Netscape and navigate the Cer ritos
CollegeHome Page to Student Home pages. Find your name and access your
homepage.
-
If the home page is not correct, return to the VAX SWING torevise the
page.
-
Repeat the above until the home page iscorrect.
Part 10: Submit yourAssignment
-
When your home page workssend a message to your instructor that you are
ready to have your home pagegraded.
Part 11: Home PageRequirements
-
Review the following Homepage HTML.
-
You are to enter an initial paragraph with informationyou are willing
to share about yourself.
-
You need to include aminimum of two (2) Hobbies and Interest other than
the ones included in thisassignment.
-
You need to include a minimum of two (2) InterestingLinks other than the
ones included in this assignment.
-
You needto include a minimum of o ne (1) graphic file.
-
You may add morethings to your web, either links, hobbies, backgrounds,
or graphics. You mayreceive a bonus of a maximum of 6 points for these
extra additions. Use FTP toupload graphics you found. Refer to the handout
on using FTP to upload filesto your account
NOTE: Replace YOUR NAME with your real name in thefollowing code.
HTML Code for HomePage
Click HERE to
obtain a copy of the code for your home page. You will needthis to complete
the lab. Use this text version to edit/create your home pagein Notepad,
or another editor.