(5 Jul 2001: as I move files from my desktop PC to our new Web server, minor editing – just enough to get them working on the new server – was done on these pages.)


Here is a picture of me: 
Here is me looking dumb: 
This is a typical home page. Many of you are probably familiar with the HTML code needed to write such a page. Here is what it would look like in a text-only browser like Lynx:
Sample Home Page (p1 of 2)
[IMAGE]
[IMAGE]
_________________________________________________________________
About Me
Here is a picture of me: [IMAGE]
Here is me looking dumb: [IMAGE]
[IMAGE]
_________________________________________________________________
-- press space for next page --
One very important technique to remember when writing Web pages is the ALT= attribute in the <IMG> tag. For example, code similar to
<IMG SRC="welcome.GIF" BORDER=1 ALT="Welcome to My Home Page">
will produce the same look when viewed in a browser like Netscape, but a much more readable page, such as the following, in a text-only browser. It is, thus, entirely possible to write one page that looks good in both types of viewers.
Sample Home Page (p1 of 2)
WELCOME TO MY HOME PAGE
Under Construction
_________________________________________________________________
About Me
Here is a picture of me: Dumb Picture #1
Here is me looking dumb: Dumb Picture #2
Go To Next Section
_________________________________________________________________
-- press space for next page --
Suppose you would like your viewer to be able to do more than just look at a pretty picture, like
To do this, you would need to write a page containing a FORM such as:
In this example, each line is shown twice so you can see the code and the results produced.
<FORM METHOD="POST" ACTION="/htbin/carterjs_proposal_form1.com"> (Note that this is not displayed.)
Now the fun begins. It doesn't do any good to submit a form if you don't have a way of handling it! When the user presses the SUBMIT button, your HTTP server bundles up all the information you've told it to collect into one long query string, which
might look something like:
USERNAME=JAN+STEIN+CARTER&HIDE-ME=THIS+IS+A+HIDDEN+FIELD&ZIP=45103&BIRD=I+CARE+ABOUT+CARDINALS.&CINTI=NORTH&ANIMAL=DOG&BREAD=PUT+ANY+OPTIONAL+TEXT+HERE.+I+CAN+PUT+MORE+TEXT+HERE.+MARY+HAD+A+LITTLE+LAMB.
and tries to send it off to be processed by the file you specified. If you haven't done so yet, fill out the form and submit it to see what happens next.