Website Design Final Chapter 7-11, & need to go back study Mid term

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

c

. Select a recommendation for mobile web design from the choices listed below. a. Use a two-column page layout b. Use images that display text c. Use percentage or em units for font sizes d. Configure all hyperlinks to open in new browser windows

F

A hyperlink with the phone: scheme may cause a web browser on a mobile device to initiate a phone call.

a

A table with a width set to 600 pixels will look _______ on a monitor with resolution set to 640 x 480 than on a monitor with resolution set to 1024 x 768 a. larger b. smaller c. the same d. more distorted

c

Choose the item below that is not a valid value for the input element's type attribute. a. radio b. url c. e-mail d. text

a

Components of responsive web design include: a. fluid layout, flexible images, media queries b. valid syntax, embedded CSS, media queries c. fluid layout, valid syntax, embedded CSS d. flexible images, media queries, valid syntax

a

Is the following code valid in HTML5? <table border="1" cellspacing="5" cellpadding="5"> a. No, the cellspacing and cellpadding attributes are obsolete. b. No, the same value cannot be provided for both cellspacing and cellpadding. c. Yes. d. No, there is no border attribute.

T

It is possible to use CSS to configure page breaks in a printed web page.

F

Mobile web pages should contain exactly the same content as web pages intended for display on desktop browsers.

a

Select a recommendation for mobile web design from the choices listed below. a. Use a single column page layout b. Use large images c. Use pt units for font sizes d. None of the above are best practices for mobile web design.

d

Select the HTML below that would associate a label displaying the text "Phone" with the text box named customerPhone. a. Phone: <input type="textbox" name="customerPhone" > b. <label>Phone: <input type="text" name="customerPhone" ></label> c. <label for="Phone">Phone: </label><input type="text" name="customerPhone" id="Phone" > d. both b and c

b

Select the HTML tag below that configures a textbox with the name "email" and a width of 40 characters. a. <input type="text" id="email" width="40" > b. <input type="text" name="email" size="40" > c. <input type="text" name="email" space="40" > d. <input type="text" width="40" >

b

Select the attribute used to limit the number of characters that a text box will accept. a. size b. maxlength c. limit d. columns

a

Select the attribute used to limit the width of a text box as displayed in a browser. a. size b. maxsize c. limit d. columns

a

Select the form control from the choices below that may be used to submit a form a. <input type="submit" > b. <submit></submit> c. <input type="button" value="submit" > d. <select option="submit" >

d

Select the item below that lists elements used in an HTML table: a. table, head, tfoot b. table, tr, tt c. thead, body, tr d. table, tr, td

b

Select the value of the type attribute that configures an HTML5 slider control. a. spinner b. range c. number d. input

c

Select the value of the type attribute that configures an HTML5 spinner control. a. spinner b. range c. number d. input

T

The CSS border-spacing property can be used to configure the horizontal and vertical spacing of table borders.

T

The CSS vertical-align property can be used to configure the vertical alignment of the contents of a table cell.

T

The W3C's concept of "One Web" relates to providing a single resource that is configured for optimal display on multiple types of devices.

a

The ________ meta tag configures scale and dimension on mobile web page display. a. viewport b. description c. sprite d. media query

a

The __________ attribute of the anchor tag can cause the new web page to open in its own browser window. a. target b. window c. id d. href

a

The ______attribute indicates if a style sheet configures for screen display or the printed page. a. media b. display c. internal d. viewport

b

The purpose of the _______ element is to describe the contents of a table. a. <summary> b. <caption> c. <title> d. <source>

d

The purpose of the __________ is to configure a label for a <fieldset>. a. <label> b. <p> c. <form> d. <legend>

b

The table element's __________ attribute is valid when using HTML5 syntax. a. border b. cellspacing c. cellpadding d. summary

c

To configure the table cells to share a common border and eliminate the default space between table cells configure ___________. a. border: none; b. border-spacing: none; c. border-spacing: 0; d. border: collapse;

b

Use _______ element to indicate table column headings or table row headings. a. <tr> b. <th> c. <thead> d. <head>

a

Use the CSS ______ property to configure the cellpadding of a table. a. padding b. margin c. cellpadding d. none of the above

a

Use the _____ attribute on the <form> tag to specify the name and location of the script that will process the form control values. a. action b. process c. method d. none of the above

b

Use the _____ tag pair to begin and end a table row. a. <td> </td> b. <tr> </tr> c. <table> </table> d. none of the above

b

Use the ______ attribute on a <td> element to associate it with a table heading cell. a. th b. headers c. heading d. title

d

Use the ________ tag pair to configure a table footer row group. a. <thead> .. </thead> b. <tgroup> .. </tgroup> c. <tbody> .. </tbody> d. <tfoot> .. </tfoot>

b

Use the headers attribute on the ___ tag to correspond to the id attribute on a <th> tag. a. <thead> b. <td> c. <tr> d. <table>

c

What attributes are valid for the <select> tag? a. name, id, multiple b. name, id, multiple, rows, cols c. name, id, multiple, selected d. name, id, multiple, checked

b

Which CSS property configures a flex container? a. flex b. display c. flex-item d. justify-content

b

Which of the following CSS3 pseudo-elements will be useful when configuring every other row of a table? a. :last-of-type b. :nth-of-type(n) c.: every-other-type d. This cannot be done with CSS.

b

Which pseudo-element can be used to generate content that precedes an element? a. :after b. :before c. :content d. :first-line

a

You would like to conduct a survey and ask your web page visitors to indicate the computer operating systems that they use. Each visitor could use more than one computer operating system. Select the form control that is best to use for this purpose. a. check box b. radio button c. text box d. scrolling text box

b

_________________ is a standard method or protocol for web pages to request special processing on the web server, such as database queries, sending e-mails, or handling form data. a. <fieldset> b. Common Gateway Interface c. JavaScript d. none of the above

c

__________________ will cause an object not to display. a. display: block; b. display: 0px; c. display: none; d. display: hide;

a

17. Which of the following CSS3 pseudo-elements could be used to apply styles to the last row of a table? a. :last-of-type b. :last-row c. :tfoot d. This cannot be done with CSS.

c

A ______ determines the capability of the mobile device, such as screen resolution, and directs browsers to CSS. a. sprite b. viewport c. media query d. fragment identifier

T

A benefit of using the CSS Sprites technique is to decrease the number of HTTP request calls to the web server.

c

An HTML table is comprised of ____ and ______. a. lines and text b. headers and body c. rows and columns d. none of the above

d

An order form contains an area for web visitors to select their state or province. You need to limit the amount of space on the form that is used for this feature. Select the form control that is best to use for this purpose. a. check box b. radio button c. text box d. select list

c

Choose the HTML tag below that would configure a scrolling text box with the name "feedback", 3 rows, and 60 characters. a. <textarea name="feedback" width="60" rows="3"></textarea> b. <input type="textarea" name="feedback" size="60" rows="3" > c. <textarea name="feedback" rows="3" cols="60"></textarea> d. none of the above

a

Choose the best answer below to the following question: Is the following CSS code valid? table { border: 2px #000000 solid; border-spacing: 0; } a. Yes. b. No, there is no border-spacing property. c. No, there is no border property. d. No, 0is not a valid value for the border-spacing property.

a

How would you define a fragment identifier at the top of a page, called "top"? a. <div id="top"> b. <div bookmark="top"> c. <div id="#top"> d. <div href="top">

a

How would you link to the named fragment #school on the page resume.html from the home page of the site? a. <a href="resume.html#school">Educational Background</a> b. <a name="resume.html#school"> Educational Background </a> c. <a link="resume.htmlschool"> Educational Background </a> d. <a link="resume.html#school"> Educational Background </a>

d

Include the keyword _____ in a media query to cause older, non-supporting browsers to ignore the media query. a. viewport b. meta c. skip d. only

d

Select the HTML tag below that configures a button that, when clicked, will automatically reset form fields to their default values. a. <input type="reset"> b. <button type="reset">Reset</button> c. <input type="button" value="Reset" > d. both a and b

b

Select the form control below that does not use the <input> tag. a. text box b. select list c. checkbox d. radio button

c

Select the form control below that would be appropriate to accept comments about your web site. a. select list b. text box c. scrolling text box d. None of the above

c

Select the statement below that is true about forms. a. The <form> tag is optional b. It is recommended to use mailto: as the action on a form since that is the easiest for the web developer c. A form can be used to pass information to a program or script on the web server d. none of the above is true

c

Select the tag used to visually group a number of form controls. a. <group> b. <fieldset> c. <form> d. none of the above

d

Select the true statement from the choices below. a. A scrolling text box is created using an input element with type="textarea". b. A text box is created using the input element with type="box". c. A select list is created using select and input elements. d. None of the above statements are true.

d

Select the true statement from those listed below. a. The input element with type="email" will cause all browsers to edit for a valid e-mail address. b. The required attribute will cause all browsers to verify that the user has entered information into the form control. c. The input element with type="date" will cause all browsers to display a calendar control d. The input element with type="email" will cause browsers that do not support the attribute to display a text box.

b

Select the type of form control that "disguises" the characters that are typed. a. text b. password c. encrypt d. textbox

c

The HTML5 _____________ form control provides the user with a selection of choices along with an option to enter information. a. select list b. check box c. datalist d. slider

a

When configuring a group of radio button form controls, the value of the ______ attribute on each radio button must be the same a. name b. id c. value d. none of the above

c

Use the ______ attribute to configure the width of a table border. a. tableborder b. width c. border d. none of the above

a

Use the _______ property in the HTML link tag to to associate a web page with a style sheet for printing. a. media="print" b. out="printer" c. media="paper" d. media="screen"

a

Use the ________ tag pair to configure a table head row group. a. <thead> .. </thead> b. <tgroup> .. </tgroup> c. <tbody> .. </tbody> d. <tfoot> .. </tfoot>

a

What is the purpose of the content property? a. to generate content that is added to the web page document b. to configure the text size of the entire web page document c. to display a pop-up window d. to configure mobile display only

b

What is the term used to describe image file that contains multiple small graphics? a. thumbnail image b. sprite c. image link d. viewport

c

When do you need to use a fully qualified URL in a hyperlink? a. when creating an internal link to the same web page b. when linking to a page in another folder on the same site c. when linking to a page on an external web site d. never

c

Which CSS property configures multiple lines in a flex container? a. justify-content b. flex-direction c. flex-wrap d. flex

b

Which of the following CSS properties positions the caption of a table? a. caption b. caption-side c. thead d. spacing

c

Which of the following CSS3 properties configure the alignment of text within a table? a. align b. caption c.text-align d. border-spacing


Ensembles d'études connexes

Giddens p 35-49 and nursing today chapter 21 spirituality professionalism in nursing

View Set

Thomas Jefferson: The Best of Enemies

View Set

Chapter 10 NCLEX-Style Review Questions

View Set

The Renaissance In Quattrocento Italy Pretest

View Set

Chapter 55: Care of Patients with Stomach Disorders

View Set