html-forms Flashcards

1
Q

What is the purpose of an HTML form element?

A

The purpose of an HTML form element is to receive inputs from a user which are sent to a page using the action attribute when the form is submitted with an input element containing an attribute of the type submit.

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

Give 5 examples of form control elements.

A

Five examples of form control elements are: label, input, textarea, select, option

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

Three examples of type attribute values for HTML input elements are: radio, submit, text

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

An HTML input element is an inline-block element because by default the element takes up space to the right of the preceding element. Additionally, it is normally as large as its content, but you can set the width and height.

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