# Fill-Out Form Example #4

This is another fill-out form example, with default values for some text entry fields and checkboxes.

The first text entry field, with default value "foo", goes here:

The second text entry field, with no default value, goes here:

Now, here's three checkboxes right in a row:

1. The first checkbox, on by default.
2. The second checkbox, off by default.
3. The third checkbox, on by default.

To submit the query, press this button: .

To reset the various form elements to their default states, press this button: .

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.