HTML Level 1 and 2 Manual
Home |
Element Index |
Forms |
Screens & Colours |
GIFs |
Layout |
Compatibility
Forms
HTML 2.0 Level 2 input pages
Level 1 and Level 2
- HTML Level 1 is the basic document feature set. HTML Level 2 adds forms. A site can use forms when it is using Level 2.
- A form only collects data in the browser. A CGI script or other server program must receive and process it.
Core controls
- FORM gives ACTION and METHOD.
- INPUT gives text boxes, password boxes, checkboxes, radio buttons, hidden values and submit/reset buttons.
- SELECT and OPTION give a menu of choices.
- TEXTAREA gives a multi-line message box.
GET or POST
- Use GET for simple searches where the submitted values can appear in the URL.
- Use POST for guestbooks, contact forms, longer comments and anything that changes server-side data.
- Neither method is secure by itself. Use server checks and, on later webs, HTTPS.
Example guestbook form
Top |
Home |
All Elements
HTML Level 1 and 2 Manual.