IT Test 2 Study Guide

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Which attribute below defines a fragment identifier in a page? a. id b. identifier c. fragment d. bookmark

a. id

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

a. name, id, multiple

The default value for the border property for an element is: a. 1 pixel b. 0 pixels c. 3 pixels d. 10 pixels

b. 0 pixels

Select the term below which is a protocol that provides a method for software components to communicate, interact, and share data. a. JavaScript b. Application Programing Interface c. Java d. Canvas

b. Application Programing Interface

The _________ element is a void element that specifies a media file and a MIME type. a. object b. source c. image d. iframe

b. source

The _____ pseudo-class configures the styles that will apply when a hyperlink is clicked. a. :hover b. :click c. :active d. :over

c. :active

Use the _____ or _____ property to clear a float. a. float or clear b. clear or overflow c. position or clear d. overflow or float

b. clear or overflow

Choose the example below of a descendant selector that configures the anchor tags within the element assigned to the content id. a. #content a b. .content a c. a#content d. content#a

a. #content a

The CSS to create the class called myfloat that floats to the right of the other page content, has a 10px margin, and a solid border is: a. .myfloat { float:right; margin:10px; border 1px solid #000000; } b. #myfloat { right:float: margin 10px; border: 1px solid #000000; } c. myfloat { float:right; 10px:margin; border: 1px solid #000000; } d. myfloat { float:right; margin:10px; border: on; }

a. .myfloat { float:right; margin:10px; border 1px solid #000000; }

The _____ pseudo-class configures the styles that will apply for a hyperlink that has not been visited by the user. a. :unvisited b. :link c. :visited d. :new

b. :link

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. :nth-of-type(n)

How would you configure a hyperlink from the index.html file to another file named services.html which is located in a subfolder named categories? a. <a href="../categories/services.html">Services</a> b. <a href="categories/services.html">Services</a> c. <a href="services.html">Services</a> d.<a>Services</a>

b. <a href="categories/services.html">Services</a>

Use the _____ element to configure a table footer row group. a. thread b. tgroup c. tbody d. tfoot

d. tfoot

True or False: A border can be configured on only one side of an element.

False

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. <div id="top">

Use the _____ property to resize or scale the background image. a. background-image b. background-clip c. background-origin d. background-size

d. background-size

True or False: The CSS verticle-align property can be used to configure the vertical alignment of the contents of a table cell.

True

The _____ pseudo-class configures the styles that will apply when the mouse is placed over a hyperlink. a. :hover b. :click c. :active d. :over

a. :hover

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

a. :last-of-type

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>

a. <a href="resume.html#school">Educational Background</a>

Use the _____ value for the CSS display property to configure an element to not display. a. block b. none c. 0 d. hide

b. none

When configuring the background color of an element, the background color is applied to both the content and _____ areas. a. border b. padding c. margin d. extra

b. padding

Which of the following configures padding for an element with the following values: top padding 0 pixels, left padding 10 pixels, right padding 10 pixels, bottom padding 20px? a. padding: 0px 10px 20px 10px; b. padding: 0 10px 20px 10px; c. padding: 10px 20px; d. padding: 20px 10px 10px 0px;

b. padding: 0 10px 20px 10px;

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

b. password box

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

b. range

Select the form control below that does not use the input element. a. textbox b. select list c. checkbox d. radio button

b. select list

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

b. sprite

Select recommended usability and accessibility practices: a. use video and sound whenever possible b. supply text descriptions of audio and video files that appear in your web pages c. never use audio and video files d. none of the above

b. supply text descriptions of audio and video files that appear in your web pages

Use the _____ element to contain a table data cell. a. th b. td c. tr d. table

b. td

Use the headers attribute on the _____ element to correspond to the id attribute on a _____ element. a. tbody, table b. td, th c. td, tr d. td, table

b. td, th

Use the _____ element to configure a table heading cell. a. td b. th c. head d. tr

b. th

Use the _____ element to contain a table row. a. td b. tr c. table d. row

b. tr

The CSS3 _____ property provides a method to change the display of an element and provides functions to rotate, scale, skew, or move an element. a. display b. transform c. transition d. hover

b. transform

Choose the recommended use of tables on web pages. a. use tables to format the layout of an entire page b. use tables to organize tabular information c. use tables to format hyperlinks d. use tables instead of unordered lists

b. use tables to organize tabular information

The file extensions .avi, .m4v, and .ogv are used for: a. audio files b. video files c. flash media files d. none of the above

b. video files

Which value for the display property is useful when configuring horizontal navigation within an unordered list? a. none b. block c. inline d. fixed

c. inline

From the choices below select the correct order to code CSS pseudo-classes. a. link, focus, hover, visited, active b. focus, hover, link, active, visited c. link, visited, focus, hover, active d. link, hover, active, visited, focus

c. link, visited, focus, hover, active

Use the _____ property to eliminate the bullets from an unordered list. a. bullet-image b. list-style-none c. list-style-type d. list-style-image

c. list-style-type

Use the _____ property to configure a maximum width for an element. a. width b. maximum-width c. max-width d. width-max

c. max-width

Use the _____ property to configure a minimum width for an element. a. width b. minimum-width c. min-width d. m-width

c. min-width

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

c. number

The _____ is the area between the content and the border. a. border b. spacing c. padding d. margin

c. padding

Use _____ positioning element to slightly change the location of an element in relation to where it would otherwise appear when rendered by a browser. a. absolute b. static c. relative d. fixed

c. relative

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

c. rows and columns

Select the form control below that would be most appropriate to accept free-form comments about your website. a. select list b. text box c. scrolling text box d. none of the above

c. scrolling text box

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

c. telephone

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

c. text-align

Select the property that is useful to remove the underline from a hyperlink. a. font-style b. underline c. text-decoration d. u

c. text-decoration

The _____ property configures a shadow effect on the text displayed with an element. a. box-shadow b. linear-gradient c. text-shadow d. shadow

c. text-shadow

The CSS3 _____ property provides for changes in property values to display in a smoother manner over a specified time. a. display b. transform c. transition d. hover

c. transition

Choose the item below that is not an HTML5 element. a. footer b. figcaption c. wrapper d. article

c. wrapper

How would you configure a hyperlink from the index.html file to another file named services.html which is located in the same folder? a. <a target="services.html">Services</a> b. <a href="services.html">Services</a> c. <a name="services.html">Services</a> d.<a>Services</a>

b. <a href="services.html">Services</a>

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. <input type="text" name="email" size="40" >

_____ 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. MIME

b. Common Gateway Interface

Use the _____ property to configure rounded corners with CSS. a. border-round b. border-radius c. box-shadow d. background-corner

b. border-radius

Which of the following configured a 1 pixel, solid black border for an element? a. border-all: #000000 b. border: 1px solid #000000; c. border-style: 1px solid #000000; d. border-top: 1px solid #000000;

b. border: 1px solid #000000;

The purpose of the _____ element is to describe the contents of the table. a. summary b. caption c. title d. border

b. caption

When coding an audio element, the code placed before the closing audio tag is considered to be: a. invalid b. fallback content c. only available to browsers that support HTML5 d. none of the above

b. fallback content

Select the element used to visually group a number of form controls. a. group b. fieldset c. form d. label

b. fieldset

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

b. headers

Use the th element to indicate a table column or row _____. a. data b. heading c. summary d. caption

b. heading

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

b. maxlength

Select an advantage of displaying HTML5 video in a web page from the list below: a. you need to create multiple video files in different formats. b. no browser plug-in or player is needed c. all browsers play all video formats d. all of the above are advantages

b. no browser plug-in or player is needed

True or False: A radial gradient is a smooth blending of color emanating outward from a single point.

True

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

True

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. <input type="submit" value="reset"> c. <reset> d. <form action="reset">

a. <input type="reset">

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="form" value="submit"> d. <select option="submit">

a. <input type="submit">

In terms of copyright, Fair Use is determined to be a. The use of a copyrighted work for purposes such as criticism, reporting, teaching, scholarship, or research. b. The use of anything you find on the Web c. Copying other's music and fairly distributing it to your friends d. none of the above

a. The use of a copyrighted work for purposes such as criticism, reporting, teaching, scholarship, or research.

Use the _____ positioning to precisely configure the location of an element outside of normal flow. a. absolute b. static c. relative d. fixed

a. absolute

Use the _____ attribute on the form element 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

a. action

The file extensions .wav, .mp3, and .ogg are used for: a. audio files b. video files c. flash media files d. none of the above

a. audio files

The _____ is between the padding and the margin. a. border b. spacing c. padding d. content

a. border

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

a. check box

Select the example below that could be used to clear a right float. a. clear: right; b. clear: left; c. right: clear; d. overflow: right;

a. clear: right;

Choose the attribute selector below that will target submit buttons. a. input[type="submit"] b. submit c. submit[input] d. input.submit

a. input[type="submit"]

Use the _____ property to configure a smooth blending of color in a single direction. a. linear-gradient b. background-color c. background-image d. opacity

a. linear-gradient

Which of the following, from outermost to innermost, are components of the box model? a. margin, border, padding, content b. content, padding, border, margin c. content, margin, padding, border d. margin, padding, border, content

a. margin, border, padding, content

Which of the following is used along with the width property to configure centered page content? a. margin-left: auto; margin-right:auto b. margin: top-10, left-0, right-0, bottom-10; c. margin: 15px 0 5px 0; d. margin: 20px;

a. margin-left: auto; margin-right:auto

When configuring a radio button form control, the value of the_____ of each radio button must be the same. a. name b. id c. value d. none of the above

a. name

The CSS3 _____ property configures the transparency of an element. a. opacity b. transparency c. background-opacity d. opacity-background

a. opacity

Use the CSS _____ property to configure the cellpadding of a table. a. padding b. margin d. cell padding d. border-spacing

a. padding

Use the _____ property along with the left, right and/or top property to precisely configure the position of an element. a. position: absolute; b. position: relative; c. position: float; d. absolute: position;

a. position: absolute;

Use the _____ attribute on a video element to display an image that represents a movie. a. poster b. player c. controls d. image

a. poster

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

a. size

Use the _____ element to configure a table head row group. a. thread b. tgroup c. tbody d. tfoot

a. thread

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

c. <textarea name= "feedback" rows= "3" cols= "60" ></textarea>

Select the statement below that is true about forms. a The form element 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. A form can be used to pass information to a program or script on the web server.

Scenario: The Firefox browser is being used to display a web page with a video but no video controls display —only the poster image is shown. Read the following code snippet and select the reason for the incorrect display from the choices below. <video controls="controls" poster="sparky.jpg" width="160" height="150"> <source src="sparky.m4v" type="video/mv4"> <source src="sparky.ogg" type="video/ogg"> <a href="sparky.mov">Sparky the Dog</a> (.mov) </video> a. The controls attribute should be controls="yes" b. There are too many source elements. c. The file extension .ogg is incorrect. d. The MIME type values are incorrect.

c. The file extension .ogg is incorrect.

Scenario: The Internet Explorer 8 browser is being used to display a web page with an audio player but the audio element displays nothing on the page. Read the following code snippet and select the reason for the incorrect display from the choices below. <audio controls="controls"> <source src="podcast.mp3" type="audio/mpeg"> <source src="podcast.ogg" type="audio/ogg"> </audio> a. The controls attribute should be controls="yes" b. There are too many source elements. c. There is no fallback content to display for browsers that do not support the audio element. d. The MIME type values are incorrect

c. There is no fallback content to display for browsers that do not support the audio element.

Choose the HTML5 element below that is used to configure an area on a web page that can stand on its own and could potentially be syndicated. a. div b. section c. article d. aside

c. article

The _____ HTML5 element indicates tangential or supplemental content. a. header b. nav c. aside d. section

c. aside

Use the _____ attribute to configure the browser to the render default table and the table cell borders. a. table border b. width c. border d. border-spacing

c. border

To eliminate the space between table cells, use the _____ property. a. border: none; b. border-style: 0; c. border-spacing: 0; d. cellspacing: 0;

c. border-spacing: 0;

Use the _______ attribute on a video element to display user controls for the video player. a. poster b. player c. controls d. image

c. controls

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

c. datalist

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

c. display: none;

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.

d. The input element with type="email" will cause browsers that do not support the attribute to display a text box.

Select the true statement below. a. a scrolling text box is creates using an input element with the type="textarea". b. A text box is created using the <input> tag with type="box". c. A select list is created using select and input elements d. a scrolling text box is created using a textarea element

d. a scrolling text box is created using a textarea element

The CSS opacity property configures the display of _____. a. only the background b. only the text c. neither the text or the background d. both the text and the background

d. both the text and the background

Select a transition-timing-function value which configures a transition effect that begins at a constant speed and slows down at the end. a. ease b. linear c. ease-in d. ease-out

d. ease-out

Use _____ positioning to configure the location of an element to remain the same and to not move even when the web page is scrolled within the browser viewport. a. absolute b. static c. relative d. fixed

d. fixed

If an element is configured with _____ the other content on the page will appear to its left. a. position: left; b. position: relative; c. float :left; d. float: right;

d. float: right;

A _____ is a smooth blending of shades from one color to another. a. transition b. transform c. shadow d. gradient

d. gradient

The _____ element provides for nested browsing. a. object b. source c. canvas d. iframe

d. iframe

The purpose of the _____ element is to configure a label for a fieldset element. a. label b. p c. form d. legend

d. legend

When using the box model, the _____ is always transparent. a. border b. content c. spacing d. margin

d. margin

Is the following HTML code valid? <table> <tr> <td>cell 1</td> <td>cell 2</td> </table> a. yes b. no, you cannot code two td elements within the same row c. no, you cannot code a table with only one row d. no, there is a missing closing td tag

d. no, there is a missing closing td tag

_____ flow displays the elements on the page in the order they appear in the web page source code. a. default b. source code c. browser d. normal

d. normal

The _____ HTML5 element indicates a portion of a document, like a chapter or specific topic. a. header b. article c. aside d. section

d. section

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

d. select list

Use the _____ element to contain an HTML table. a. th b. td c. tr d. table

d. table

Which of the following is NOT a valid value for the border-style property? a. dashed b. groove c. solid d. triple

d. triple


Kaugnay na mga set ng pag-aaral

000 Aidez vous des images, et complétez avec le bon verbe à la forme affirmative ou négative

View Set

Chapter 9: The integumentary System Prep U

View Set

W 01: Advantages and disadvantages of e-learning

View Set

The Little Mermaid The Musical Jr. (King Triton Lines)

View Set

Bahasa Indonesia untuk kuis - Indo for test

View Set

Construction Management Final Exam

View Set

InQuizitive Chapter 16: Fiscal Policy

View Set