~wenchen/public_html/course/351/week10/5.html |
<html> ... <form method="post" action="http://people.cs.und.edu/~wenchen/cgi-bin/351/week10/ListTitles.cgi"> Author's name: <input type="text" name="name" value="Michael" size="32"><br /> <input type="submit" name="act" value="List the titles"> <input type="submit" name="act" value="Display the source"> <input type="reset" value="Reset"> </form> ... </html> |
http://people.cs.und.edu/~wenchen/course/351/week10/5.html |
type="text"
, which specifies a single line text entry field within the form that contains it.
type="submit"
, which submits the form when a user clicks the button.
type="reset"
, which re-sets all the fields in the form to their initial values when a user clicks the button.