Next / Previous / Contents / TCC Help System / NM Tech homepage

2. Form elements

Any Web page can include a form between <form></form> tags. In general, a form looks like this in HTML:

<form method='post' action='url'>
  place form elements here      
</form>

where url points to the downstream CGI script that processes the results from this form.

Each occurrence of an <input>, <select>, <textarea>, or other form element causes the browser to display a widget for capturing data entered on the form. These elements can be freely intermixed with normal HTML tags such as bullet lists, horizontal rules, and so forth.