Web Tech Exam #2
Choose the example below of a descendant selector that configured the anchor tags within the element assigned to the content id.
#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:
.myfloat {float:right; margin:10px; border:1px solid #000000;}
Use the _________________ property to resize or scale the background image.
background-size
The ______is between the padding and the margin.
border
Use the _________ attribute to configure the browser to render default table and table cell borders.
border
Use the ______________property to configure rounded corners with CSS.
border-radius
To eliminate the space between table cells, use the ______________ property.
border-spacing:0;
Which of the following configures a 1 pixel, solid black border for an element?
border: 1px solid #000000;
The purpose of the ____________ element is to describe the contents table.
caption
When using the box model, the ______ is always transparent.
margin
Which of the following, from outermost to innermost, are components of the box model?
margin, border, padding, content
Which of the following is used along with the width property to configure centered page content?
margin-left: auto; margin-right: auto
The_____ is the area between the content and the border.
padding
Use the CSS ___________ property to configure the cell padding of a table.
padding
When configuring the background color of an element, the background color is applied to both the content and the ______ areas.
padding
Which of the following configured padding for an element with the following values: top padding 0 pixels, left padding 10 pixels, right padding 10 pixels, bottom padding 20 px?
padding: 0 10px 20px 10px;
Use the ________property along with the left, right and/or top property to precisely configure the position of an element.
position: absolute;
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 colomns
The ______________HTML5 element indicates a portion of a document, like a chapter or specific topic.
section
What is the term used to describe image file that contains multiple small graphics?
sprite
Use the ______ element 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 text within a table?
text-align
Select the property that is useful to remove the underline from hyperlink.
text-decoration
The ___________________property configured a shadow effect on the text displayed within the element.
text-shadow
Use the ________element to configure a table footer row group.
tfoot
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 contain a table row.
tr
Which of the following is NOT a valid value for the border-style property?
triple
T/F: A radial gradient is a smooth blending of color emanating outward from a single point.
true
T/F: The CSS border-spacing property can be used to configure the horizontal and vertical spacing of table borders.
true
T/F: The CSS vertical-align property can be used to configure the vertical alignment of the contents of a table cell.
true
Choose the recommended use of tables on web pages.
use tables to organize tabular information
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
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
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
Use the ___________property to configure a smooth blending of color in a single direction.
linear-gradient
From the choices below, select the correct order to code CSS pseudo-classes.
link, visited, focus, hover, active
Use the _____________property to eliminate the bullets from an unordered list.
list-style-image
Use the __________value for the CSS display property to configure an element to not display.
none
_______flow displays the elements on the page in the order they appear in the web page source code.
normal
The CSS3______property configures the transparency of an element.
opacity
The default value for the border property for an element is:
0 pixels
The ___________pseudo-class configures the styles that will apply when a hyperlink is clicked.
:active
The _________pseudo-class configured the style that will apply when the mouse is placed over a hyperlink.
:hover
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)
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 index.html file to another file named services.html which is located in the same folder?
<a href="services.html">Services</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">
Use____________positioning to precisely configure the location of an element outside of normal flow.
absolute
The CSS opacity property configures the display of _______________
both the text and the background
Use the _______or ___________property to clear a float.
clear or overflow
Select the example below that could be used to clear a right float.
clear:right;
_________________________will cause an object not to display.
display:none;
T/F: A border can be configured on only one side of an element.
false
Use_______________positioning to configure the location of an element to remain the same and to not move even then the web page is scrolled within the browser viewpoint.
fixed
If an element is configured with ___________ the other content on the page will appear to its left.
float:right;
A ________is a smooth blending of shades from one color to another.
gradient
Use the __________property to configure a maximum width for an element.
max-width
Use the ____________property to configure a minimum width for an element.
min-width
Is the following HTM code valid? <table> <tr> <td>cell1</td> <td>cell2 </tr> </table>
no, there is a missing closing td tag
Choose the item below that is NOT an HTML5 element.
wrapper