Chapter 14 Creating User Forms
To send form results to an e-mail address
<form method="post" action=mailto:emailaddress enctype="text/plain">
where emailaddress is the address to which to send the data.
To send form results to a CGI script
<form method="post" action="url">
where url is the path to the script.
To create a text box field in a form
<input type="text" name="fieldname" size="n" maxlength="n" />
where fieldname is a unique name you assign, and n is a number of characters.
To create a multiline text area
<textarea name="fieldname" rows="n1" columns="n2">Default text</textarea>
where fieldname ...
Get HTML and XHTML Step by Step now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.