html-forms Flashcards

1
Q

What is the purpose of an HTML forms element?

A

They allow you to collect information from visitors to your site.

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

Give five examples of control elements.

A

Adding Text: ex. text input for email, password input, longer text like messages or comments
Making choices: buttons to select, check boxes, drop down menus (all to select options
Submitting forms: submit buttons, image buttons, uploading files

input
output
textarea
select
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 form elements.

A

type=”image”
type=”radio”
type=”password”

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

The input element is an inline-block element. It doesn’t start on a new line (inline) but it can set BOTH height and width values (block).

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