Chapter 9

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

To group a number of form controls visually on the page, use the _______________ tag

<fieldset>

Choose the HTML tag that would configure a text box with the name "city" and a width of 40 characters. a. <input type="text" id="city" width="40" b. <input type="text" name="city" size="40"/> c. <input type="text" name="city" space="40"/> d. <input type="text" width="40"/>

<input type="text" name="city" size="40"/>

Choose the HTML that would associate a label displaying the text "Email:" with the e-mail text box. a. E-mail <input type="textbox" name="email" id="email"> b. <label>E-mail: </label><input type="text" name="email" id="email"> c. <label for="email">Email: </label> <input type="text" name="email" id="emailaddress"> d. <label for="email">E-mail: </label> <input type="text" name="email" id="email">

<label for="email">E-mail:</label> <input type="text" name="email" id="email">

Which HTML tag would configure a scrolling text box with the name comments, 2 rows and 30 characters? a. <textarea name="comments" width="30" rows="2"</textarea> b. <input type="textarea" name="comments"size="30" rows="2"/> c. <textarea name="comments" rows="2" cols="30"></textarea> d. none of the above

<textarea name="comments" rows="2" cols="30"></textarea>

You would like to conduct a survey and ask your web page visitors to vote for their favorite search engine. Which of the following form controls is best to use for this purpose? A. check box b. radio button c. text box d. scrolling text box

Radio button

What will happen when a browser encounters a new HTML5 form control that it does now support? a. The computer will shut down. b. The browser will crash. c. The browser will display an error message. d. The browser will display an input text box.

The browser will display an input text box.

Which attribute of the <form> tag is used to specify the name and location of the script that will process the form field values? a. action b. process c. method d. id

action

You would like to conduct a survey and ask your web page visitors to indicate the web browsers they use. Which of the following form controls is best to use for this purpose? A. check box b. radio button c. text box d. scrolling text box

check box

Forms contain various types of _____________ such as text boxes and buttons, that accept information from a web page visitor. a. hidden elements b. labels c. form controls d. legends

form controls

To limit the number of characters that a text box will accept, use the ______________ attribute.

maxlength

To cause a number of radio buttons to be treated as a single group, the value of the _________ attribute must be identical.

name

Which of the following form controls would be appropriate for an area that your visitors can use to type in comments about your website? A. text box b. select list c. radio button d. scrolling text box

scrolling text box

An order form contains an area for web visitors to select their preferred method of shipping. You need to limit the amount of space on the form that is used for this feature. Which of the following form controls is best to use for this purpose? a. check box b. radio button c. text box d. select list

select list

You would like to accept a number that's in a range from 1 to 50. The user needs visual verification of the number they selected. Which of the following form controls is best to use for this purpose? a. spinner b. check box c. radio button d. slider

spinner

Which of the following form controls would be appropriate for an area that your visitors can use to type in their email address? a. select list b. text box c. scrolling text box d. none of the above

text box


Set pelajaran terkait

Cable Connectivity Common Issues

View Set

exam 1 (ch. 1, 2, 3, 4, and 5) ~ quizzes

View Set

ACC 361 - Miami University Midterm

View Set

INTERNET MARKETING (QUIZ 2 PREP)

View Set

MIS 301 Exam 1 Textbook Questions

View Set

Vocabulary Workshop Second Course - Lesson 1

View Set

World History Spring Final Essays

View Set