HCI 201 Multimedia and the World Wide Web
Fall 1999 - Section 703 - Form Elements: Input Controls Part 3
- <INPUT TYPE="submit">
- Button to send form
- Use VALUE attribute to change label
- <INPUT TYPE="reset">
- Button to clear form
- Use VALUE attribute to change label
- <INPUT TYPE="button">
- Custom button
- Use VALUE attribute to define label
- Will have no effect without an associated JavaScript
- <INPUT TYPE="image">
- Replace "Submit" button with a graphic
- Use SRC attribute to identify URL of graphic to be used
- Does not work for the "Reset" button
- <INPUT TYPE="file">
- To select file on local computer to upload to predefined server destination of form
- If used, ENCTYPE attribute in FORM tag must be "multi-part/form-data"
Yet another simple example form
Week 6
Previous | Next
Course Home | Announcements | Class Roster | Schedule | Syllabus