Head First Html: Chapter 14

Helpfulness: +1
Set Details Share
created 9 years ago by jingle
109 views
Getting Interactive - XHTML Forms Taken from the bullet points at the end of the chapter.
Grade levels:
9th grade, 10th grade, 11th grade, 12th grade, College: First year, College: Second year, College: Third year, College: Fourth year, Graduate school, Professional
show moreless
Page to share:
Embed this setcancel
COPY
code changes based on your size selection
Size:
X
Show:
1

The _______ element defines the form, and all form input elements are nested inside it

<form>

2

The _______ attribute contains the URL of the Web Application

action

3

The _______ attribute contains the method of sending the form data: either POST or GET

method

4

A _______ packages form data and sends it as part of the request

POST

5

A _______ packages form data and appends it to the URL

GET

6

Use GET for requests that might be _______

bookmarked

7

The _______ element can act as many different input controls on the Web page, depending on the value of its "type" attribute

<input>

8

An input type of _______ creates a single line text input

"text"

9

An input type of _______ creates a submit button

"submit"

10

A input type of _______ creates one radio button. All radio buttons with the same name make up a group of mutually exclusive buttons

"radio"

11

An input type of _______ creates one checkbox control. You can create a set of choices by giving multiple checkboxes the same name

"checkbox"

12

A _______ element creates a multi-line text input area

<textarea>

13

A _______ element creates a menu, which contains one or more <option> elements

<select>

14

An _______ element defines an item in a menu created using a <select> element

<option>

15

If you put text into the content of a <textarea> element, it will become the _______ text for that particular control

default

16

The _______ attribute in the text <input> element can be used to give a single-line text input an initial value

value

17

Setting the value attribute on a submit button changes the _______ of the button

text

18

When a Web form is submitted, the form data values are paired with their corresponding names, and all names and values are sent to the _______

server

19

XHTML allows form elements to be organized with the _______ element

<fieldset>

20

The _______ element can be used to attach labels to form elements in a way that aids accessibility

<label>