Week 2 Part 2 Flashcards

1
Q

In order for each form to be usable, each form control should be accompanied by an indication of

A

what it is and how it should be used

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

T/F - Form controls are different methods you can use to gather data

A

True.

ie.
Text Input Controls. Checkboxes Controls. Radio Box Controls. Select Box Controls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

form element - required

A

The form is required to have a non-empty value there for submission

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Input element attributes
v
r
s
m
m
p

A

value
readonly
size
minlength
maxlength
placeholder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How can we determine the size of the visible drop-down list for the <select> tag? How are the options tagged?</select>

A

Use the “size” attribute. Options are tagged with the <option> element</option>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The ________ attributes allows users to select multiple values from the drop-down list

A

multiple

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can you make an option pre-selected for the <select> menu?</select>

A

Use the “selected” attribute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are these examples of?
Select lists, radio buttons, checkboxes

A

Choice controls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is <optgroup> used for?

A

Grouping possible options together in the <select> element</select>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

T/F - The textarea element can hold an unlimited number of characters, and the size is determined by the <cols><rows> atributes</rows></cols>

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

This tag is used to group related elements in a form

A

<fieldset>
</fieldset>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

This tag defines the caption for the fieldset element

A

<legend>
</legend>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly