Items in italics are items that you supply. A choice of items is indicated by putting the options within square brackets, separated by vertical bars. You choose one option, and omit the brackets and bars. For example, this general model:
<form action="action_URL" method=["post"|"get"]>might have this specific instance:
</form>
<form action="showInfo.cgi" method="get">
</form>
Here are the general models for the elements that go inside a form:
<input type="text" name="field_name" value="initial_value" size="width_in_chars" maxlength="maximum_input" /> <input type="radio" name="group_name" value="info" checked="checked" /> <input type="checkbox" name="group_name" value="info" checked="checked" />
These are container elements:
<select name="field_name" size="number" multiple="multiple"> <option value="item_1" selected> Name of item 1 </option> <option value="item_2"> Name of item 2 </option> </select> <textarea name="field_name" rows="number" cols="number" wrap=["off"|"yes"]> Initial data inside text area </textarea>
These elements submit or reset the form contents:
<input type="submit" name="send_name" value="Submit button text" /> <input type="reset" value="Reset button text" />
The Reset Button | Index |