HTML Forms Flashcards

1
Q

What required <form> attribute specifies the manner in which the browser will send form data to a web server?

A

method

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

This required <form> attribute specifies the name and location of the CGI script used to process the form.

A

action

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

What <form> method attribute value instructs the browser to append the form data to the URL for use in a query string?

A

get

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

Identify the query string in the following URL: http://www.exampledomain.com/example.php?firstname=John&lastname=Smith

A

?firstname=John&lastname=Smith

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

Identify the number of name/value pairs in the following URL: http://www.exampledomain.com/example.php?firstname=John&lastname=Smith

A

2

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

What <form> method attribute value allows sending more characters and is slightly more secure when submitting a Web-based form?

A

post

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

What Web form input type is a standard text box in which a user can enter characters?

A

Text Box

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

What Web form input type creates round option buttons in a group of two or more mutually exclusive options?

A

Radio Buttons

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

Which Web form input type creates square boxes in a group of two or more non-exclusive options?

A

Checkboxes

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

Which Web form element creates a drop-down list of two or more options from which a single selection can be made?

A

Single-Option Select List

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

Which Web form element is an exposed list of two or more options, optionally scrollable, from which a user can make more than one selection?

A

Multiple-Option Select List

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

Which Web form element is a scrolling text field where the user can enter multiple lines of text?

A

Textarea

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

Which Web form input type is a text box that visually masks the entered characters as filled circles?

A

Password

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

Which Web form input type provides a button that allows users to navigate and select a local file for uploading?

A

File

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

Which Web form component is a button that, when clicked, causes the form action attribute value to process?

A

Submit Button

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

Which Web form component is a button that, when clicked, clears all form data and sets all form fields back to the default values for those fields?

A

Reset Button