Test 2 Review (HTML)

2 September 2022
4.7 (114 reviews)
50 test answers

Unlock all answers in this set

Unlock answers (46)
question
Identify the attribute selector that matches all div elements whose class attribute begins with the text string "col-".
answer
div[class^="col-"]
question
Browsers ignore any values specified for the left or top properties under _____ positioning.
answer
static
question
A(n) _____ is a line drawn around an element, enclosing the element content, padding, and border spaces.
answer
outline
question
In a fixed layout, the size of the page and the size of the page elements are fixed using _____ as the unit of measure.
answer
pixels
question
The _____ unit can be thought of as a share of available space.
answer
fr
question
_____ is a popular design element which consists of an enlarged initial letter in a body of text that drops down into the text body.
answer
Drop cap
question
Which of the following style rules is used to draw a 1px red dotted line around every element on a web page along with a wildcard selector?
answer
*{outline: 1px dotted red;}
question
Identify a grid-based property that is a space-separated list of row heights or column widths.
answer
track-list
question
The display type value _____ is displayed as a block unless its next sibling is also a block, in which case, it is displayed in-line, essentially combining the two blocks into one.
answer
run-in
question
Identify the default type for the box-sizing property.
answer
content-box
question
The width property of the _____ model is based on the sum of the content, padding, and border spaces and any space taken up by the padding and border is subtracted from space given to the content.
answer
border box
question
_____ places an element at specific coordinates either in a page or within a container element.
answer
Absolute positioning
question
Once a Cascading Style Sheets (CSS) grid is established, a specific element within a _____ is placed at the intersection of a specified row and column.
answer
grid cell
question
In z-index: value; property, value is a(n) _____.
answer
integer
question
Identify the property that is used to choose the layout model.
answer
box-sizing
question
The scroll value of the overflow style keeps the element at the specified dimensions, but adds horizontal and vertical scroll bars to allow users to scroll through the _____ content.
answer
overflowed
question
Desktop layouts are often based on layouts with _____ columns.
answer
12 or more
question
In the outline-style property outline-style: style; style can be set to _____ for displaying a single line.
answer
solid
question
Which of the following can be used to express style in the outline-style property outline-style: style;?
answer
ridge
question
A _____ sets the width of page elements as a percent of the available screen width.
answer
fluid layout
question
Which of the following statements is true of outline styles?
answer
All of the outline styles properties can be combined into the outline shorthand property.
question
The _____ value of the display style removes an element from a rendered page.
answer
none
question
Which of the following class names is used to indicate a column with a width of 25%?
answer
question
Identify the default clear value that allows an element to be displayed alongside any floated objects.
answer
none
question
The _____ value of the overflow style keeps the element at a specified height and width, but cuts off excess content.
answer
hidden
question
Identify the CSS3 3D transformation function that shifts an object offX pixels horizontally, offY pixels vertically, and offZ pixels along the z-axis.
answer
translate3d(offX, offY, offZ)
question
Identify the syntax of the transform property.
answer
transform: effect(params);
question
Tiling is when a browser loads a background image and then repeats the image in both the vertical and horizontal directions until the entire background is filled.
answer
TRUE
question
Which of the following styles is used to specify the type of tiling to be applied to a background image, or even turn off tiling?
answer
background-repeat: type;
question
Which of the following angles used in the filter function hue-rotate (angle) displays the complimentary colors?
answer
180deg
question
To round off any of the four corners of a border, the _____ property should be applied.
answer
border-radius
question
Which of the following defines the default hotspot for an image?
answer
coords="0,0,width,height"
question
Identify the property that can be used to change the definition of an element's background.
answer
background-clip: type;
question
Identify the default type for the background-repeat style.
answer
repeat
question
Backgrounds are added in the reverse order in which they're listed in a style rule.
answer
TRUE
question
Identify a true statement about the figcaption element.
answer
It is placed either directly before or directly after a figure box content.
question
A final way to alter an object is through a Cascading Style Sheets (CSS) _____.
answer
filter
question
The _____ element is used to contain an image file and can also be used to mark any page content that should stand apart from the main content of an article.
answer
figure
question
Which of the following is the default shape value for the radial-gradient function?
answer
Ellipse
question
Identify a CSS3 2D transformation function that resizes an object by a factor of x horizontally.
answer
scaleY(y)
question
If a single value is specified in the background-position property, the browser applies that value to both the horizontal and vertical position.
answer
TRUE
question
The background-position property is only useful for non-tiled images because a tiled image fills the background and it usually doesn't matter where the tiling starts.
answer
TRUE
question
The radii of individual corners are equal to the radii of hypothetical circles placed at the corners of a box with the arcs of the circles defining the rounded circles.
answer
TRUE
question
Identify the coordinate attribute for the rectangular hotspots of an image.
answer
coords="left,top,right,bottom"
question
A background image can be placed using the keywords left, center, and right for the vertical position and top, center, and bottom for the horizontal position.
answer
FALSE
question
Filter functions can be combined in a _____ to create new effects.
answer
space-separated list
question
If a background extends through the border space by default, all coordinates for the image position are measured from the bottom-left corner.
answer
FALSE
question
Which of the following is true of transformations in three dimensions?
answer
Negative values along the axes are to the left, up, and away from a reader.
question
Identify the property that is used to apply a border image.
answer
border-image: url(url) slice repeat;
question
Which of the following properties is used to define the thickness of a specific border?
answer
border-side-width: width;