IT Web Tech Exam 2
Choose the example below of a descendant selector that configures the anchor tags within the element assigned to the content id.
#content a
Scenario: The Internet Explorer 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>
There is no fallback content to display for browsers that do not support the audio element
Choose the best answer below to the following question: Is the following CSS code valid? table {border: 2px #000000 solid; border-spacing: 0; }
Yes.
JavaScript can be described as:
an object-based scripting language
Use the ____ attribute to configure the browser to render default table and table cell borders.
border
Use the th element to indicate a table, column, or row.
heading
The purpose of the ____ element is to configure a label for a fields element.
legend
Use the ____ property to eliminate the bullets from an unordered list.
list-style-type
What attributes are valid for the select element?
name, id, multiple
Select the type of for control that "disguises" the characters that are typed.
password box
Select the value of the type attribute that configures an HTML5 slider control.
range
Select the property that is useful to remove the underline from a hyperlink.
text-decoration
Use the _____ element to contain a table row.
tr
The file extensions .avi, .m4v, and .ogv are used for:
video files
The ____ element provides for nested browsing.
iframe
The ____ pseudo-class configures the styles that will apply when a hyperlink is clicked.
:active
The ____ pseudo-class configures the styles that will apply when the mouse is played over a hyperlink.
:hover
How would you define a fragment identifier at the top of a page, called "top"?
<div id="top">
Select the HTML tag below that configures a textbook named "email" that is 40 characters wide.
<input type="text" name="email" size"40">
Select the HTML below that would associate a label displaying the text "Phone" with the text box named customerPhone.
<label>Phone:<input type="type" name="customerPhone"></label>
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>
Select the statement below that is true about form.
A form can be used to pass information to a program or a script on the web server
Select the true statement from the choices below.
A scrolling text box is created using a textarea element.
Select the term below which is a protocol that provides a method for software component to communicate, interact, and share data.
Application Programming Interface
The file extensions .wav, .mp3, and .ogg are used for:
Audio files
____ is a standard method or protocol for web pages to requires special processing on the web server, such as a database queries, sending emails, or handling form data.
Common Gateway Interface
Select a disadvantage of displaying Flash media in a web page from the list below:
Flash is not supported on many mobile devices
Select an advantage of displaying HTML5 video in a web page from the list below:
No browser plug-in or player is needed
Is the following HTML code valid? <table> <tr> <td>cell1</td> <td>cell12</tr> </tr> </table>
No, there is a missing closing td tag.
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/m4v"> source src="sparky.ogg" type="video/ogg"> <a href="sparky.mov">Sparky the Dog</a> (.mov) </video>
The file extension .ogg is incorrect
Select the true statement from those listed below.
The input element with type="email" will cause browsers that do not support the attribute to display a text box.
In terms of copyright, Fair Use is determined to be
The use of a copyrighted work for purposes such as criticism, reporting, teaching, scholarship, or research
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
Select a recommendation for the mobile web design from the choices listed below.
Use a single column page layout and use percentage or em units for font size.
Choose the recommended use of tables on web pages.
Use tables to organize tabular-information.
To eliminate the space between tables, cells, use the _____ property.
border-style: 0;
The ____ element is a placeholder in which dynamic graphics can be configured.
canvas
The purpose of the ____ element is to describe the contents of a table.
caption
Which of the following CSS3 properties position 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
Use the ____ or ____ property to clear a float.
clear or overflow
Select the examples below that could be used to clear a right float.
clear: right;
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
Select a transition-timing-function value which configures a transition effect that beings at a constant speed and slows down at the end:
ease-out
the ____ element was widely used but never part of the W3C standard until HTML5
embed
When coding an audio elect, the code placed before the closing audio tag is considered to be:
fallback content
Select the element used to visually group a number of form controls.
fieldset
Use ____ positioning to configure the location of an element to remain the same to not move even when the web page is scrolled within the browser viewport.
fixed
If an element is configured with ____ the other content on the page will appear to its left.
float: right;
Select the term below which names an HTML5 API that allows web page visitors to share their geographic location
geolocation
which attribute below defines a fragment identifier in a page?
id
Which value for the display property is useful when configuring horizontal navigation within an unordered list?
inline
Choose the attribute selector below that will target submit buttons.
input[type="submit"]
____ is a JavaScript library intended to simplify client-side scripting:
jQuery
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 resolutions set to 1024 x 768
larger
From the choices below select the correct oder to code CSS pseudo-classes.
link, visited, hover, active
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
The CSS to create the class called my float that floats to the right of the other page content, has a 10px margin, and a solid border is:
my float {float:right' margin:10px; border:1px solid #000000;}
When configuring a radio button form controls the value of the ____ of each radio button must be the same.
name
____ flow displays the elements on the page in the order they appear in the web page source.
normal
Select the value of the type of attribute that configures an HTML5 spinner control.
number
Include the keyword ____ in a media query to cause older, non-supporting browsers to ignore the media query.
only
Select the example below that configures a container to clear all floated elements that are within the container.
overflow: auto;
Use the CSS _______ property to configure the cellpadding of a table.
padding
Use the ____ property along with the left, right and/or top property to precisely configure the position of an element.
position: absolute;
Use the ____ attribute on a video element to display an image that represents the movie.
poster
Use ____ positioning to slightly change the location of an element in relation to where it would otherwise appear when rendered by a browser.
relative
An HTML table is comprised of ____ and ____
rows and columns
Use the ____ element to associate JavaScript with a web page
script
Select the form control below that would be most appropriate to accept free-form comments about your website.
scrolling text box
Select the form control below that does not use the input element.
select list
Select the attribute used to configure the width of a text box as displayed in a browser.
size
The ____ element is a void element that specifies a media file and a MIME type.
source
What is the term used to describe the image file that contains multiple small graphics?
sprite
Select the recommended usability and accessibility practices:
supply text descriptions of audio and video files that appear in your web pages
Use the ____ elect to contain an HTML table.
table
Use the ____ element to contain a table data cell.
td
Use the headers attribute on the ____ element to correspond to the id attribute on a _____ element.
td, th
Which of the following CSS3 properties configure the alignment of a text within a table?
text-align
Use the _____ elements to configure a table footer row group.
tfoot
Use the ____ attribute on a td element to associate it with a table heading cell.
th
Use the ____ attribute on td element to associate it with a table heading cell.
th
Use the ____ element to configure a table heading cell.
th
Use the ____ element to configure a table head row group.
thead
Use the _____ element to configure a table head row group.
thead
Use the ___ element to contain a table row.
tr
The CSS3 ____ property allows you to rotate, scale, skew, or move an element.
transform
The CSS3 ____ property provides for changes in property calls to display a smoother manner over a specified time
transition
The CSS3 ____ property provides for changes in property values to display in a smoother manner over a specified time.
transition
The ____ meta tag configures scale and dimension on mobile web page display.
viewport
Which of the following CSS3 pseudo-elements could be used to apply styles to the last row of a table?
:last-of-type
The ____ pseudo-class configures the styles that will apply for a hyperlink that has not been visited by the user.
:link
Which of the following CSS3 pseudo-elements will be useful when configuring every other row of a table?
:nth-of-type(n)
Use ____ positioning to precisely configure the location of an element outside of the normal flow.
absolute
Use the ____ attribute on the form element to specify the name and location of the script that will process the form control values.
action
____ will cause an object not to display.
display: none;
Choose the item below that is not a valid value for the input element's type attribute.