IT Test 2
When coding an audio element, the code placed before the closing audio tag is considered to be:
Fallback content
Components of responsive web design include:
Fluid layout, flexible images, media queries
Use the ______ attribute on a td element to associate it with a table heading cell.
Headers
Use the th element to indicate a table column or row _____.
Heading
Horizontal navigation
Inline
To eliminate bullets:
List-style-type
Select the attribute used to limit the number of characters that a text box will accept.
Maxlength
Use the ______ value for the CSS display property to configure an element to not display.
None
Which of the following CSS3 properties configure the alignment of text within a table?
Text-align
The CSS3 _____________ property allows you to rotate, scale, skew, or move an element.
Transform
The CSS3 _____________ property provides for changes in property values to display in a smoother manner over a specified time.
Transition
Which attribute below defines a fragment identifier in a page?
id
Configures the anchor tags within the element assigned to the content id.
#content a
Use the expression ___________________ in a media query to target devices with screens up to 480 pixels in width.
(max-width: 480px)
The css to create the class myfloat that floats to the right of the other page content, has a 10px margin, and a solid browser
.myfloat
The _______ pseudo-class configures the styles that will apply when a hyperlink is clicked.
:active
Which of the following CSS3 pseudo-elements could be used to apply styles to the last row of a table?
:last-of-type
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 href="categories/services.html>Services</a>
How would you link to the named fragment #school on the page resume.html from the home page of the site?
<a href="resume.html#school">Educational Background</a>
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 href="services.html">Services</a>
How would you define a fragment identifier at the top of a page, called "top"?
<div id="top">
Select the HTML code to configure a button that, when clicked, will automatically reset form fields to their default values.
<input type="reset">
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 named "email" that is 40 characters wide.
<input type="text" width="40" >
Select the HTML below that would associate a label displaying the text "Phone" with the text box named customerPhone.
<label>Phone: <input type="text" 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 forms.
A form can be used to pass information to a program or script on the web server.
Select the true statement from the choices below.
A scrolling text box is created using a textarea element.
Use the _____ attribute on the form element to specify the name and location of the script that will process the form control values.
Action
Select the term below which is a protocol that provides a method for software components to communicate, interact, and share data.
Application Programming Interface
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.
Article
The ________ HTML5 element indicates tangential or supplemental content.
Aside
The file extensions .wav, .mp3, and .ogg are used for:
Audio files
Use the ______ attribute to configure the browser to render default table and table cell borders.
Border
To eliminate the space between table cells, use the ___________ property.
Border-spacing:0;
The purpose of the _______ element is to describe the contents of a table.
Caption
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
Could be used to clear a right float.
Clear:right
_________________ 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
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
__________________ will cause an object not to display.
Display:none;
Select a transition-timing-function value which configures a transition effect that begins at a constant speed and slows down at the end.
Ease-out
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 and 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;
Apply when the mouse is over the link.
Hover
Choose the attribute selector below that will target submit buttons.
Input[type="submit"]
The purpose of the __________ element is to configure a label for a fieldset element.
Legend
Pseudo class configures the styles that will apply for a hyperlink that has not been visited by user.
Link
From the choices below select the correct order to code CSS pseudo-classes.
Link, visited, focus, hover, active
A ______ determines the capability of the mobile device, such as screen resolution, and directs browsers to CSS.
Media Query
Use the _______ attribute in the HTML link element to associate a web page with a style sheet for printing.
Media="print"
When configuring a radio button form control, the value of the ______ of each radio button must be the same
Name
What attributes are valid for the select element?
Name, ID, multiple
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>cell 1</td> <td>cell 2 </tr> </table>
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.
Normal
The W3C's concept of _________relates to providing a single resource that is configured for optimal display on multiple types of devices.
OneWeb
Include the keyword _____ in a media query to cause older, non-supporting browsers to ignore the media query.
Only
Use the CSS ______ property to configure the cellpadding of a table.
Padding
Select the type of form control that "disguises" the characters that are typed.
Password box
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
Select the value of the type attribute that configures an HTML5 slider control.
Range
Positioning to slightly change the location of an element in relation to where it would otherwise appear.
Relative
Select the form control below that would be most appropriate to accept free-form comments about your website.
Scrolling text box
The ________ HTML5 element indicates a portion of a document, like a chapter or specific topic.
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.
Select list
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 image file that contains multiple small graphics?
Sprite
Positioning to precisely configure the location of an element outside of normal flow.
Static
Select recommended usability and accessibility practices:
Supply text descriptions of audio and video files that appear in your webpages.
Use the ______ element to contain an HTML table.
Table
A hyperlink with the _____ scheme may cause a web browser on a mobile device to initiate a phone call.
Tel;
Choose the item below that is not a valid value for the input element's type attribute.
Telephone
To remove an underline.
Text-decoration
Use the ________ element to configure a table footer row group.
Tfoot
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>
The MIME type values are 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.
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>
There is no fallback content to display for browsers that do not support the audio element.
Use the ____ element to configure a table head row group.
Thread
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 mobile web design from the choices listed below.
Use a single column page layout.
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
Choose the item below that is not an HTML5 element.
Wrapper
The _________ element provides for nested browsing.
iframe
Use the ______ element to configure a table data cell.
td
Use the headers attribute on the ___ element to correspond to the id attribute on a ___ element.
td, th
Use the _____ element to configure a table row.
tr
Which of the following CSS3 pseudo-elements will be useful when configuring every other row of a table?
:nth-of-type(n)
Use the ________ or _______ property to clear a float.
Clear, Overflow
Select the value of the type attribute that configures an HTML5 spinner control.
Number
An HTML table is comprised of ____ and ______.
Rows and columns
Choose the recommended use of tables on web pages.
Use tables to organize tabular information .