COM271, Week 7

HTML Form Basics

Syllabus | Table of Pages | Assignments | References and Useful Links
←Review, Week 6 | Review, Week 8→

  1. What minimal set of attributes within the <form> element is required for a form to interact with a designated server page?
  2. What html element is used to render a line drawn around portions of an html form?
  3. What element is used to provide an embedded label for the resulting group of form elements?
  4. List the values for the attribute type=" " that you would use within an <input> tag to specify the following:
    • a box for writing a simple word to be used in a search
    • one of a group of two or more elements used as "radio" buttons, allowing you to choose only one member of the group of buttons
    • a box to allow a user to check or uncheck a selection
      (e.g., "Check here if you want to receive our email newsletters ")
    • the element used to submit the form
  5. What form element would you use to allow a user to write an extensive text entry (say, a 100 word paragraph)?
  6. What element would you use to create a drop-down menu?
  7. How would you tell the server the name of the menu?
  8. Drop-down menus:
  9. For each entry in the drop-down menu, what element would you use to specify a value for the menu item presented?
  10. For each menu item selected, what attribute could you include to specify an alternative value to be passed to the server?

  11. What is the purpose of the "value = " attribute used with a submit button (i.e., what will be done with the value specified, as in "value='This Text'"?)

These questions are worth one point each. Grades for each question are 0 or 1 (no partial credit). Total points this review: 10. At the end of the course, total points will be added, divided by 100, and that fraction will be applied to 20% of your grade (maximum points from reviews is 20% of grade). See Assignments and Grading.