Week 2 Part 2 Flashcards
In order for each form to be usable, each form control should be accompanied by an indication of
what it is and how it should be used
T/F - Form controls are different methods you can use to gather data
True.
ie.
Text Input Controls. Checkboxes Controls. Radio Box Controls. Select Box Controls
form element - required
The form is required to have a non-empty value there for submission
Input element attributes
v
r
s
m
m
p
value
readonly
size
minlength
maxlength
placeholder
How can we determine the size of the visible drop-down list for the <select> tag? How are the options tagged?</select>
Use the “size” attribute. Options are tagged with the <option> element</option>
The ________ attributes allows users to select multiple values from the drop-down list
multiple
How can you make an option pre-selected for the <select> menu?</select>
Use the “selected” attribute
What are these examples of?
Select lists, radio buttons, checkboxes
Choice controls
What is <optgroup> used for?
Grouping possible options together in the <select> element</select>
T/F - The textarea element can hold an unlimited number of characters, and the size is determined by the <cols><rows> atributes</rows></cols>
True
This tag is used to group related elements in a form
<fieldset>
</fieldset>
This tag defines the caption for the fieldset element
<legend>
</legend>