chpt9 quiz

pdf

School

Kwantlen Polytechnic University *

*We aren’t endorsed by this school

Course

1213

Subject

Computer Science

Date

Jan 9, 2024

Type

pdf

Pages

8

Uploaded by LieutenantCraneMaster888

Report
Question 1 Correct Mark 1.00 out of 1.00 Flag question Question text Which of the following form controls would be appropriate for an area that your visitors can use to type in comments about your website? Select one: a. select list b. radio button c. scrolling text box d. text box Feedback Your answer is correct. The correct answer is: scrolling text box Question 2 Correct Mark 1.00 out of 1.00 Flag question Question text Which attribute of the form element is used to specify the name and location of the script that will process the form field values? Select one: a. action b. method c. id
d. process Feedback Your answer is correct. The correct answer is: action Question 3 Correct Mark 1.00 out of 1.00 Flag question Question text Forms contain various types of __________________, such as text boxes and buttons, which accept information from a web page visitor. Select one: a. hidden elements b. labels c. form controls d. legends Feedback Your answer is correct. The correct answer is: form controls Question 4 Correct Mark 1.00 out of 1.00 Flag question Question text Choose the HTML tag that would configure a text box with the name "city" and a width of 40 characters. Select one: a.
<input type="text" id="city" size="40"> b. <input type="text" id="city" width="40"> c. <input type="text" width="40"> d. <input type="text" id="city" space="40"> Feedback Your answer is correct. The correct answer is: <input type="text" id="city" size="40"> Question 5 Correct Mark 1.00 out of 1.00 Flag question Question text Which of the following form controls would be appropriate for an area that your visitors can use to type in their e-mail address? Select one: a. select list b. text box c. label d. scrolling text box Feedback Your answer is correct. The correct answer is: text box Question 6 Correct Mark 1.00 out of 1.00 Flag question
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question text 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? Select one: a. radio button b. text box c. scrolling text box d. check box Feedback Your answer is correct. The correct answer is: radio button Question 7 Correct Mark 1.00 out of 1.00 Flag question Question text You would like to conduct a survey and ask your web page visitors to indicate the web browsers that they use. Which of the following form controls is best to use for this purpose? Select one: a. text box b. check box c. radio button d. scrolling text box
Feedback Your answer is correct. The correct answer is: check box Question 8 Correct Mark 1.00 out of 1.00 Flag question Question text Which HTML tag would configure a scrolling text box with the name "comments", 2 rows, and 30 characters? Select one: a. <input type="comments" name="comments" rows="2" cols="30:> b. <textarea name ="comments" width="30" rows="2"></textarea> c. <input type="textarea" name ="comments" size="30" rows="2"> d. <textarea name ="comments" cols="30" rows="2"></textarea> Feedback Your answer is correct. The correct answer is: <textarea name ="comments" cols="30" rows="2"></textarea> Question 9 Correct Mark 1.00 out of 1.00 Flag question Question text 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? Select one: a.
spinner b. check box c. slider d. radio button Feedback Your answer is correct. The correct answers are: spinner, slider Question 10 Correct Mark 1.00 out of 1.00 Flag question Question text Choose the HTML that would associate a label displaying the text "E-mail:" with the e-mail text box. Select one: 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">E-mail: </label><input type="text" name="email" id="email"> d. <label for="email">E-mail: </label><input type="text" name="email" id="emailaddress"> Feedback Your answer is correct. The correct answer is: <label for="email">E-mail: </label><input type="text" name="email" id="email"> Question 11
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Correct Mark 1.00 out of 1.00 Flag question Question text What will happen when a browser encounters a new HTML5 form control that it does not support? Select one: a. The computer will shut down b. The browser will display an input text box. c. The browser will display an error message. d. The browser will crash Feedback Your answer is correct. The correct answer is: The browser will display an input text box. Question 12 Incorrect Mark 0.00 out of 1.00 Flag question Question text To limit the number of characters that a text box will accept, use the Answer attribute. Feedback The correct answer is: maxlength Question 13 Correct Mark 1.00 out of 1.00 Flag question Question text
To group a number of form controls visually on the page, use the Answer element. Feedback The correct answer is: fieldset Question 14 Correct Mark 1.00 out of 1.00 Flag question Question text To cause a number of radio buttons to be treated as a single group, the value of the Answer attribute must be identical. Feedback The correct answer is: name