Quiz 6, Quiz 5, computer shtuff
choose the example below of a descendant selector that configures the anchor tags within the element assigned to the an id named special.
#special 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; }
The default value for the border property for an element is:
0 pixels
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>
The purpose of the ________ element is to describe the contents of a table.
<caption>
Use the ________ tag pair to configure table headings.
<th> </th>
Use the ________ tag pair to begin and end a table row.
<tr> </tr>
________ flow displays the elements on the page in the order they appear in the web page source code.
Normal
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-collapse: collapse; }
Yes.
Use the ________ attribute to configure the width of a table border.
border
To configure the table cells to share a common border and eliminate the default space between table cells configure ________.
border-collapse: collapse;
Which of the following CSS3 properties position the caption of a table?
caption
To define the distance between the cell text and the cell border in a table, use the ________ attribute.
cellpadding
To define the distance between the edges of each cell in a table use the ________ attribute.
cellspacing
To apply a style to one or more elements on a web page, configure a CSS ________.
class
Select the example below that could be used to clear a right float.
clear: right;
c
d
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;
The ________ pseudo-class configures the styles that will apply when the mouse is on a hyperlink.
hover
Use the ________ property to configure an image to use as a bullet point in an unordered list.
list-style-image
When using the box model, the ________ is always transparent.
margin
Which of the following configures a margin for an element with the following values: top margin 30 pixels, left margin 150 pixels, right margin 0 pixels, and bottom margin 0 pixels?
margin:30px 0 0 150px;
Choose the example below of a descendent selector that configures the anchor tags with the nav element.
nav a
Set list-style-type to the value ________ to hide the display of the list markers on an ordered list.
none
The ________ is the area between the content and the border.
padding
Use the CSS ________ property to configure the cellpadding of a table.
padding
When configuring the background color of an element, the background color is applied to both the content and ________ areas.
padding
The box model consists of a content area surrounded by:
padding, border, and margin
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 ________.
rows and columns
Select the item below that lists elements used in an HTML table:
table, tr, td
Which of the following CSS3 properties configure the alignment of text within a table?
text-align
Use an id to configure a style when:
the style will apply to only one element on a page.
When do you need to use a fully qualified URL in a hyperlink?
when linking to a page on an external website
Which of the following CSS3 pseudo-elements could be used to apply styles to the last row of a table?
:last-of-type
________ will cause an object not to display.
display: none;
a
b