To Temple College Class  logo R. Craig Collins > Web Page Design > Lab 8

Lab 8 © R. Craig Collins, 2005/6

General Lab Directions
Note: There is not enough time in lecture to cover all the material; read your book BEFORE you begin the lab
Note: Typically labs will require you to invest some time in the lab, outside of class lecture hours

•Note: Please read the related overview material before continuing
Check with your Instructor for due date, typically Friday, 11:59PM (see due dates)

 •NOTE: Do NOT use CAPITAL letters OR spaces in file names, or add extra spaces between quotation marks.
 •NOTE: Do NOT use curly quotation marks, such as ; only use straight quotation marks, such as ".

   •Document tags introduced in Lab 8 (link to documentation part of lab)
     (You will later transfer this information into a D2L quiz)
     •Tags to document must include: all <form> related tags and attributes
You may download an acrobat or word processing document to help you with this.   
   •Begin coding and testing Lab 8 (link to web page construction requirements)
   •Answer questions concerning topics covered in Lab 8
     (You will later transfer this information into a D2L quiz)
You may download an acrobat or word processing document to help you with this.   

At the end of this process,
1) you will submit the web page files by zipping them, and placing them in the Desire2Learn dropbox area. Instructions on zipping are below.
2) you will be 'turning in' your documentation and Q&A by taking the IMED Lab 1: Dubé quiz in the Quizzes area of Desire2Learn. So, to get the best score, complete the documentation and Q&A as directed below, first.

     • Optional: Open/save an Acrobat pdf document to help with documentation and questions
       (get Adobe Acrobat Reader free, here)
     • Optional: Right click/save a Word doc document to help with documentation and questions
     • Optional: Right click/save a Rich Text rtf document to help with documentation and questions

 

 

Part 1: Documentation, (30%)
You may download an acrobat or word processing document to help you with this.

At the end of this process, you will be turning in answers using the Quizzes area of Desire2Learn, based on the following. So, to get the best score, fill in all the answers in this document first.

Tags to document must include: <form>, <input> and <select>

Tag: <form> </form> form
Syntax (required and [optional attributes]; including action=, and method=)
What do these do?:
Example:

Notes:

Tag: <input> </input> Input
Syntax (required and [optional attributes]; including name= and type=radio, checkbox, and text)
What do these do?:
Example:

Notes:

Tag: <textarea> </textarea> A larger text box where the size can be set
Syntax (required and [optional attributes]; including name=, rows=, and cols=)
What do these do?:
Example:

Notes:

Tag: <select> </select> Select
Syntax (required and [optional attributes]; including name=
and the
helper tag <option> with the attribute value= and selected)
What do these do?:
Example:

Notes:



 

Part 2, Activity (40%):
You may download an acrobat or word processing document to help you with this.

 • Create a folder named lab8
    (QUICKSTART ALTERNATIVE: copy your lab7 FOLDER, and rename the copy to lab8)

    CHOOSE EITHER FAST OPTION 1 OR SECOND OPTION, YOU DON'T DO BOTH

• Option 1: Copy the template at the bottom of the form web page, and edit to make a working form

OR

• Option 2: Create a page of your own design that includes ONE <form action=... method=...> ... </form> tagset,
   and includes a working radio box, checkboxes, select, and text or textarea between the
  <form action=... method=...> ... </form>
.

Note: this is a form design lab; but if you use the proper code, it will actually work.

Start with
<form action="http://studentweb.templejc.edu/imed1316/cgi-bin/FormValues.asp" method="post">
[another working option is listed below ]
and
end with
<input type="submit" value="Submit">
</form>


Note: Dreamweaver will expect you to fill out the properties for each item you add to a form, and you will have to manually change the name of your input fields. Not recommended unless you really understand forms.
NVu actually does a better job for novices, prompting you to fill out a dialog box for each item added, including the form you begin with.

Of course, coding in notepad always works; copy/paste from form template to get a jump start :)

  • Create a new file of your own design called form.htm inside of the pages folder

    folder \

           folderlab7
              |
              |
           folderlab8
              |
              |----index.html
              |
              |---- folderpages
              |          |-  page1.htm
              |          |-  page2.htm
              |          |-  resume.htm
              |          |-  frame.htm
              |          |-  form.htm
              |     
              |         
              |---- folderimages
                         |- pink_fabric.gif
                         |- yellow_fabric.gif
                         |- yourimage.jpg
       

Use the template, or one of the following lines to start your form
Recommended method, as mentioned above,
start with:

<form action="http://studentweb.templejc.edu/imed1316/cgi-bin/FormValues.asp" method="post">

or
If you have a dedicated (non-web-based) email program set on your computer, you can use the form action mailto to mail the results to you
<FORM ACTION="mailto:your-email@templejc.edu?subject=Lab 8 " METHOD="POST" ENCTYPE="text/plain">
or
mail the results to craig.collins@templejc.edu
<FORM ACTION="mailto:craig.collins@templejc.edu?subject=Lab 8 " METHOD="POST" ENCTYPE="text/plain">

  • Grading Points

  • (5 points) Please update your default document (index.html) to link to this file, and link this to your default document.
  • (5 points) Make sure you have a meaningful title, background color/image, and control text colors

    Verify you have ONLY ONE <form ...> tag, and one </form>

  • (5 points) at least one working radio button
  • (5 points) at least one working checkbox
  • (5 points) at least one working select, such as a dropdown menu
  • (5 points) at least one working text area or text box
  • (5 points) working submit button
    <input type="submit" value="Submit">
    (
    this is the last thing before </form> )
  • (5 points) properly coded
  • (How to check for HTML errors)


 

Part 3: Hands On (30%): Be prepared to show the functionality of your web page, and discuss/demonstrate new tags and attributes used in this lab

You may download an acrobat or word processing document to help you with this.

At the end of this process, you will be turning in answers using the Quizzes area of Desire2Learn, based on the following questions. So, to get the best score, fill in all the answers in this document first.

Posers, could you answer the following on the test? (Specific Lab questions below.)

Answer the following questions. (6 points each)

  1. Why do you name values?
  2. Describe the different form tools, such as radio, checkbox, etc.
  3. Why might you use select instead of input?
  4. What does <form action=" "...> do?
  5. What does <form method=" "...> do?
  6. What usually goes at the end of a form?
Lab 8 Questions

 

Problems? Zip the entire folder and attach to an email:
       •Send the mail to your instructor, cc yourself
       •The subject line should include your name, your class, your section, and what you are submitting
       •Make sure you attach the zipped file

SUBMITTING THE LAB

In Windows, zip the entire lab8 directory, and rename to yourname-lab8.zip.
       •Example: yourname-lab8 or yourname-lab8.zip (if your extensions are visible)
Log into Desire2Learn, choose this class, choose Dropbox, and select Lab 8.
Browse to yourname-lab8.zip and upload it. (Scroll down to see detailed instructions)

You will then transfer your answers to the D2L Quiz for lab 7. You may use your notes for this part of lab.
Choose the Quizzes menu, and locate IMED Lab 7: frames.
      • Using D2L dropbox       • Using D2L Quizzes      • Logon to D2L
To submit by Temple College Desire2Learn:
       •Log into D2L, scroll to the bottom, and choose the correct course
       •When the Course Home Page appears, click on the Dropbox link.
              •You may click on Discussions, Dropbox, or Quizzes below, for more info

       D2L navigation D2L Dropbox notes D2L Quizzes Notes D2L Discussion Notes
Dropbox directions