FORMS
Forms are to allow the viewer to provide data to the website. The information
can be sent via e-mail, sent via CGI (Common Gateway Interface), or become the
contents of a variable in a
JavaScript program.
<form atttribute(s)> </form> Attributes:
action (mailto:, CGI), method (post, get)
<input attribute(s) />
Attributes: type(text, password, checkbox, radio, button, submit, reset), name,
size, value, maxlength, checked (radio, checkbox), onclick(JavaScript
connected)
<textarea attributes> </textarea> Attributes:
rows, cols
Pulldown menu:
<select> </select> with items
enclosed in <option> </option>
Selected inside the option tag
will have that showing in the box rather than first in the list.
Cascading Style Sheets/Scripting languages
Return to main page