Makes it easier to give default values to <select> or
<checkbox> form elements.
The <default> container tag is placed around the form
element it should give a default value.
This tag is especially useful in combination with database tags.
Attributes
- value=string
-
The value to set.
- name=string
-
Only affect form element with this name.
Example
<form>
<default value=2 name=number>
<select name=number>
<option value="1">One
<option value="2">Two
<option value="3">Three
</select>
</default>
</form>
|