CSIT 121 Final Exam

Ace your homework & exams now with Quizwiz!

Use the expression ________ in a media query to target devices with screens up to 480 pixels in width.

(max-width: 480px)

Which of the following CSS3 pseudo-elements could be used to apply styles to the last row of a table?

:last-of-type

Which of the following CSS3 pseudo-elements will be useful when configuring every other row of a table?

:nth-of-type(n)

The purpose of the ________ element is to describe the contents of a table.

<caption>

Select the tag used to visually group a number of form controls.

<form>

Select the form control from the choices below that may be used to submit a form.

<input type="submit" >

Select the HTML tag below that configures a textbox with the name "email" and a width of 40 characters.

<input type="text" name="email" size="40" >

The purpose of the ________ is to configure a label for a <fieldset>.

<legend>

Use the headers attribute on the ________ tag to correspond to the id attribute on a <th> tag.

<td>

Choose the HTML tag below that would configure a scrolling text box with the name "feedback", 3 rows, and 60 characters.

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

Use the ________ tag pair to configure a table footer row group.

<tfoot>...</tfoot>

Use ________ element to indicate table column headings or table row headings.

<th>

Use the ________ tag pair to configure a table head row group.

<thead>...</thead>

Use the ________ tag pair to begin and end a table row.

<tr>...</tr>

Choose the true statement below. -A Boolean attribute always requires a value. -It is invalid HTML to use a Boolean attribute. -A Boolean attribute does not require a value. -None of the above statements are true.

A Boolean attribute does not require a value.

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

A form can be used to pass information to a program or script on the web server.

Select the term below which is a protocol that provides a method for software components to communicate, interact, and share data.

Application Programming Interface

Select the HTML below that would associate a label displaying the text "Phone" with the text box named customerPhone. - Phone: <input type="textbox" name="customerPhone" > - <label>Phone: <input type="text" name="customerPhone" ></label> - <label for="Phone">Phone: </label><input type="text" name="customerPhone" id="Phone" > - Both B and C

Both B and C

Which of the following CSS properties positions the caption of a table?

Caption-side

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.

Check box

________ 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.

Common Gateway Interface

Which CSS property configures a flex container?

Display

The ________ defines every object and element on a web page.

Document Object Model

Choose the item below that is NOT a valid value for the input element's type attribute.

E-mail

When using flexbox layout, setting justify-content: space-between; will configure the following.

Flex items begin at main start and end at main end with equal empty space between flex items.

Which CSS property configures multiple lines in a flex container?

Flex-wrap

Which of the following is a shorthand property that configures both the placement and dimensions of items on the grid?

Grid-template

Is the following code valid in HTML5? <table cellspacing="5" cellpadding="5">

No, the cellspacing and cellpadding attributes are obsolete.

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

None of the above statements are true.

Select the value of the type attribute that configures an HTML5 spinner control.

Number

Select the type of form control that "disguises" the characters that are typed.

Password

Select the value of the type attribute that configures an HTML5 slider control.

Range

Select the form control below that would be appropriate to accept comments about your website.

Scrolling text box

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.

Select list

Select the form control below that does NOT use the <input> tag.

Select list

Which of the following CSS3 properties configure the alignment of text within a table?

Text-align

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

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

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

True

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

True

Choose the best answer below to the following question: Is the following CSS code valid? table { border: 2px #000000 solid; border-spacing: 0; }

Yes.

jQuery is ________.

a free open-source JavaScript library

Use the ________ attribute on the <form> tag to specify the name and location of the script that will process the form control values.

action

The ________ method displays a message to the user and contains one button.

alert()

JavaScript can be described as ________.

an object-based scripting language

The file extensions .wav, .mp3, and .ogg are used for ________.

audio files

To configure the table cells to share a common border and eliminate the default space between table cells configure ________.

border-spacing: 0;

The ________ element configures dynamic graphics.

canvas

When using flexbox layout, the flex property ________.

configures the amount of space a flex item takes up and how much it will shrink or grow

Use the ________ attribute on a video element to display user controls for the video player.

controls

The HTML5 ________ form control provides the user with a selection of choices along with an option to enter information.

datalist

When using flexbox layout, the main axis is the ________.

direction of the flow

When configuring a grid layout, the fr unit ________.

directs the browser to allocate a fractional part of the remaining space

The ________ property configures a grid container.

display

Use the ________ property to configure a flex container.

display

The ________ property can set the background color of the document.

document.bgcolor

Use the ________ method to write text to a web page.

document.write()

In the context of web page interactivity, a(n) ________ can be described as an action taken by the user.

event

An ________ is embedded in an HTML tag as an attribute and indicates some JavaScript code to execute when the event occurs.

event handler

An ________ is coded in a JavaScript block and waits for an event (such as click and mouseover) and cause code to be run, typically calling a function.

event listener

When coding an audio element, the code placed before the closing audio tag is considered to be ________.

fallback content

CSS Flexible Box Layout is best suited for ________.

flexible one-dimensional layouts

Components of responsive web design include ________.

fluid layout, flexible images, media queries

The ________ property informs the browser to provide empty space or gutters between grid tracks.

grid-gap

Configure a ________ property on a grid item to configure the area in rows that is reserved for the item on the grid.

grid-rows

Use the ________ attribute on a <td> element to associate it with a table heading cell.

headers

When using grid layout, grid ________ delineate grid rows and grid columns.

lines

Select the attribute used to limit the number of characters that a text box will accept.

maxlength

A ________ determines the capability of the mobile device, such as screen resolution, and directs browsers to CSS.

media query

A ________ is an action that can be performed with an object.

method

When configuring a group of radio button form controls, the value of the ________ attribute on each radio button must be the same.

name

What attributes are valid for the <select> tag?

name, id, multiple, selected

Which of the following reserves the first column in a three row grid for the nav element?

nav { grid-row: 1 / 4; grid-column: 1 / 2; }

The ________ event handler is triggered when the visitor places their mouse on an object.

onmouseover

When configuring flexbox or grid layout, the ________ property can be used to change the sequence of the flex items or grid item on the page.

order

Use the CSS ________ property to configure the cellpadding of a table.

padding

The purpose of the ________ element is to provide a method for a browser to display different images depending on specific criteria indicated by the web developer.

picture

A function can ________ a value to indicate success or failure.

return

An HTML table is comprised of ________ and ________.

rows; columns

Use the ________ element to associate JavaScript with a web page.

script

Select the attribute used to limit the width of a text box as displayed in a browser.

size

The purpose of the img element's ________ attribute is to provide a method for a browser to display different images depending on specific criteria indicated by the web developer.

srcset

Select the item below that lists elements used in an HTML table.

table, tr, td

The heading of a table column or table row is coded within which of the following HTML elements?

th

CSS Grid Layout is intended for ________.

two-dimensional layouts

The file extensions .avi, .m4v, and .ogv are used for ________.

video files

The ________ meta tag configures scale and dimension on mobile web page display.

viewport


Related study sets

Cardiovascular Target ATI Assessment

View Set

KINE 232 - Athletic Injury Management

View Set

Azure Associate: AZ-104 Microsoft Azure Administrator

View Set

Unit 4: Lesson 3: Water, Air, and Land Resources Assessment 1-7, p. 108

View Set

Acc 201 exam 1 final multi choice

View Set

Decision Support Systems Overview of Decision Support Systems

View Set

Chapter 6 Vocabulary & Questions

View Set