html forms Flashcards

1
Q

What is the purpose of an HTML form element?

A

To collect info (user input) and submit it to a server

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

Give five examples of form control elements.

A

form, input, textarea, select (has option elements), label, button?

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

Give three examples of type attribute values for HTML input elements.

A

text, number, radio, email, password, checkbox, file, submit, image, hidden

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

Is an HTML input element a block element or an inline element?

A

inline-block

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