XHTML Lecture 4 Forms

Card Set Information

Author:
mal808
ID:
60194
Filename:
XHTML Lecture 4 Forms
Updated:
2011-01-17 06:07:29
Tags:
Forms XHTML Tags
Folders:

Description:
Lecture notes on XHTML Forms
Show Answers:

Home > Flashcards > Print Preview

The flashcards below were created by user mal808 on FreezingBlue Flashcards. What would you like to do?


  1. What are the tags for forms?
    • <form>
    • First Name: <input name="fname" type="text" />
    • </form>
    • the input tag should always have a name and type.
    • Text should precede the input tag so the user knows what to enter.
  2. Name the input attributes:
    • name="fname"
    • type="text"
    • value="enter text here"
    • size="80"
    • maxlength="20"
  3. List the different "type" attributes available:
    text, submit, reset, image, checkbox, radio.
  4. How do you create a pop-up menu?
    • <select name="prize">
    • <option value="cheese">Cheese</option>
    • <option value= "burgers">Burgers</option>
    • <option value= "xbox">Xbox</option>
    • </select>
  5. How do you create a text area?
    • <textarea name="comments" cols="10" rows="10">
    • </textarea>

What would you like to do?

Home > Flashcards > Print Preview