Fill-Out Form Example #4
|
|
This is another fill-out form example, with default values for some
text entry fields and checkboxes.
Things you may want to note:
- A
value attribute to an input tag of
type "text" specifies the default value of that text
field.
- A
value attribute to an input tag of
type "checkbox" specifies the value that checkbox
takes when it's on. If this attribute is not present, the
default is "on".
- A
checked attribute to a checkbox specifies that the
checkbox is on by default.
- Similar to how an
input tag of type
"submit" is a special query submission button, an
input tag of type "reset" is a special
form reset button. (If all of the input elements have no default
values, this may be better termed a "clear" button; the label on
the pushbutton included in the form is controlled by the
value attribute to that input tag.)
Back to example 3
or
forward to example 5.