Form Tag
What It Does:
The form tag only designates the beginning or end of the form. To create a complete form,
you also need the "input" tag to create text boxes, check boxes, submit buttons, etc. You might also use the "select" tag
or the "textarea" tag.
The Syntax:
<form method="post" action="processor.php">
<textarea name="ta1"> </textarea>
<input name="submit" type="submit">
</form>
This will turn into this:
- The action attribute tells the form where to submit to.
- The method attribute can be either "post" (for saving data at the server) or "get" (for fetching data from the server).
- A form needs a input of type="submit" in order to submit to a server.