. . . . . . . . . ( end of section Goals) <<Contents | End>>
Deliverable
Advice for doing labs.
(0) Find a browser.
(1) Open up a browser window and a terminal window and place them so you can see both at once. You will need to see the instructions and type commands in the terminal window in these labs.
(2) Use browser to find out things and check your new pages. Bookmark the course website and your own public site, etc.
(3) Use a terminal window to do experiments, create files, publish work, etc.
(4) Get good at 'vi' or 'emacs'.
(4) If you use your own software, it is your problem.
Making a Home Page
In this lab your public WWW site appears under a directory that looks
like this on your workstation:
/pool/web/public/your_group/your_name (in JBH358)
/web/public/your_group/your_name (in JBH359)or (sometimes)
/pool/web/public/your_name
/web/public/your_nameand your login (HOME) directory is called:
/pool/your_group/your_nameor perhaps
/u/your_group/your_name
If you already have a page index.html on csci.csusb.edu then edit it to include a href to http://www.csci.csusb.edu/dick/cs320/. And remove any strange "=" signs! Hint:
<a href="http://www.csci.csusb.edu/dick/cs320/">CSci320</A>
Otherwise
<HTML><head><title>Put your name here</title></head>
<body>
<h1>Put your name here</h1>
<pre>
Put a personal message here.
I am taking <a href="http://www.csci.csusb.edu/dick/cs320/">CS320</A>: Programming Languages.
</pre>
</body>
</HTML>
cp index.html /pool/www/public/csci/astudent
If you work directly in the public directory:
Net
Call me over before the end of the lab period and show me your page,
Rewards for completing lab
Here is an alternate way to develop web pages:
[ 01.joke.txt ]
Here is my favorite daily comic:
[ http://www.userfriendly.org/ ]
and here is a highly relevant storyline
[ ?id=19991213&mode=classic ]
-- enjoy!
Check the next class
[ ../03.html ]
. . . . . . . . . ( end of section CSci320 Lab 02 Hunt the Web site) <<Contents | End>>
HTML
The HTML is the language used to describe web pages.
It is very simple and easy to learn.
The name
stands for "HyperText Markup Language". The word hypertext refers
to the ability to linked pages together. The
word markup tells us that you must insert certain tags into your
text to make the page look the way you want it to.
The tags come in pairs (mostly). Here are the ones I used in your page:
| Tags | Purpose |
|---|---|
| <HTML>...</HTML> | Indicates page for the web |
| <head>...</head> | The part of a page that identifies the data in the page |
| <title>...</title> | The title of the page -- labels the browser window, etc. |
| <body>...</body> | The visible part of the page |
| <h1>...</h1> | A large head line in the page |
| <pre>...</pre> | The text is pre-formatted. |
| <a...>...</A> | An Anchor for a hyperlink to another page. |
I will be giving you more information on HTML in this course.
An HTML Primer
[ HTMLPrimer.html ]
If your CSCI account doesn't work or your web site is not ready...