ALS 3203 - Lesson 8
Glossary - Forms, Links

P. M. Choate
<!--something here--> - comment
Hides HTML code from being activated or HTML effects being displayed. Used for non-displaying comments that you can place in your web page htm file.
<a href="something here"> linked object or text here </a>
Creates a hyperlink reference containing something, such as "http://tigerweb.entnem.ufl.edu/pmc/file.htm" or "mailto:someone@someplace.com" or "../filename.htm". Always closed with an </a>
<a href="http://agg3333.ifas.ufl.edu/">Class Page</a> creates a link to our class home page.
<a href="mailto:pmc@ifas.ufl.edu">Email me</a> creates an email link to send email to me.
mailto:
Used with <a href="">, creates a link to email, will bring up email message box while in broswer if the computer has email software installed. This will not work with MSN Hotmail since the email is being handled remotely by MSN. Example: pmc@ifas.ufl.edu is a link to my email address, but the underlying code is <a href="mailto:pmc@ifas.ufl.edu"> pmc@ifas.ufl.edu </a> (note the required quotation marks)
action="mailto:youremail address"
Included in the <form > tag. Will result in the form being submitted via email to the address entered here. Note: some of your commercial Internet providers such as AOL do NOT allow mailto: protocol. Be sure to include enctype="text/plain" in your form definition.
upload
Your web pages have to be uploaded to a server to be made available to users of the Internet.
server
Where web pages reside for Internet access.
set permission
Viewers must have read permission to view your web pages on a server.
ftp
Method of uploading files to a server. File transfer Protocol
telnet
Method of uploading files to a server.
http
Hypertext Transfer Protocol. One of several protocols used on the Internet. Other include FTP, Mailto:, and now rarely used, gopher. The first part of URL. Example: http://agg3333.ifas.ufl.edu/ - our class site introduction web page URL.

HTML - FORMS

<form>
Tag that starts HTML form. Requires an ending tag, </form>. All of your form elements (text boxes, radio buttons, checkboxes, drop-down menus, etc.) must be contained between the <form> and </form> tags.
INPUT TYPE
Defines the type of control to create in a form. Valid types are text, password, checkbox, radio, submit, reset, file, hidden, image, and button. An example would be: <INPUT TYPE="text" size="30"> which would create a single line text box 30 pixels long for user input.
radio
A form INPUT TYPE. Creates a radio button. Radio buttons are mutually exclusive, only one may be selected. If you want the user to be able to make multiple selections use checkboxes.
Example: The Gators will win the SEC this year!
True
False
Only time will tell!
<form>
<INPUT TYPE="radio" NAME=Q1 VALUE="true">True
<INPUT TYPE="radio" NAME=Q1 VALUE="false">False
<INPUT TYPE="radio" NAME=Q1 VALUE="time">Only time will tell!
</form>
checkbox
A form INPUT TYPE. Creates checkboxes which allow for multiple selections. Example:

C:\windows\explorer.exe is an example of (choose all that apply):
Path to a file.
Command line that would run a program.
None of these.
Web page address.
<form>
<input type="checkbox" name="Q3" value="Path"> Path to a file.<br>
<input type="checkbox" name="Q3" value="Program"> Command line that would run a program.<br>
<input type="checkbox" name="Q3" value="None">None of these.<br>
<input type="checkbox" name="Q3" value="Web_address">Web page address.
</form>

text area
A form text entry box. Creates a text box for user input. This box can contain large amounts of text, and can include automatic word wrap. Use this for user comments or lengthy discussions. Example:
<form>
<textarea name="comments" rows="4" cols="30" wrap="virtual">
Your comments please!
</textarea>
</form>
SELECT
Creates a MULTIPLE selection list for the user, displayed as a drop-down menu. Requires an </select>. Example:
<form> <SELECT NAME="Places" size=2 MULTIPLE>
<OPTION VALUE="Course_web">Course Web Page</OPTION>
<OPTION VALUE="UF_web">UF Web Page</OPTION>
<OPTION VALUE="Ent_web">Entomology Dept.</OPTION>
</select></form>
submit
INPUT TYPE of form - (what is diplayed on the button) is determined by VALUE assigned the button. Example:
<form><INPUT TYPE="submit" VALUE="Send it to me"></form>
reset
Clears the contents of a form. Same format as the submit button. Example:
<form><INPUT TYPE="Reset" VALUE="Clear Form"></form>
text
INPUT TYPE of form, creates a single line text box. Content will scroll left and right but not vertically. Example:
Email:
<form>Email:<INPUT TYPE="text" size="30" name="email"></form>
VALUE=""
Together with name makes up the named pair for a variable in a form. See example under radio.
NAME=""
Together with value makes up the named pair for a variable in a form.
POST
One of two methods to submit form content, the other being GET.
GET
One of two methods to submit form content, the other being POST.
ACTION=""
Method of handling a form, includes sending as email message using mailto: or sending to a server-side script to some URL.
cgi script
Common Gateway Interface. Scripts that are written to process forms. CGI scripts are executed on a server, and are capable of handling form content in a variety of ways.

Begin lesson
Today is: | ©P. M. Choate 2007
University of Florida Home Page