[prev] [index] [next]

HTML Forms

An HTML form combines the notions of   user input  &  function call :
  • collects data via form control elements
  • invokes a URL to process the collected data when submitted
Syntax:

<form method=RequestMethod action=URL ...>
any HTML except another form
   mixed with
data collection (form control) elements
</form>

An HTML document may contain any number of <form>'s.

Forms can be arbitrarily interleaved with HMTL layout elements (e.g. <table>)