PRACTICE TEST BANK 2025 QUESTIONS AND CORRECT
ANSWERS
element[attribute$=value] - CORRECT ANSWERS-This CSS3 selector selects every instance of a
specified element whose specified attribute ends with the specified value
element[attribute*=value] - CORRECT ANSWERS-This CSS3 selector selects every instance of a
specified element whose specified attribute contains the specified substring value
element[attribute^=value] - CORRECT ANSWERS-This CSS3 selector selects every instance of a
specified element whose specified attribute begins with the specified value
element:checked - CORRECT ANSWERS-This CSS3 selector selects every checked instance of a
specified element
element:disabled - CORRECT ANSWERS-This CSS3 selector selects every disabled instance of a
specified element
element:enabled - CORRECT ANSWERS-This CSS3 selector selects every enabled instance of a
specified element
element:first-of-type - CORRECT ANSWERS-This CSS3 selector selects every instance of a
specified element that is the first of its parent
element:last-of-type - CORRECT ANSWERS-This CSS3 selector selects every instance of a
specified element that is the last of its parent
element1~element2 - CORRECT ANSWERS-This CSS3 selector selects every instance of
element2 that is preceded by an instance of element1 where both have the same parent. element2 need
not be immediately preceded by element1
,rel, type, href - CORRECT ANSWERS-Linking to a CSS file requires these attributes in the link
element
style - CORRECT ANSWERS-Embedded CSS should be placed in a block defined by this
element
style - CORRECT ANSWERS-Inline CSS should be placed in an attribute with this name
document flow - CORRECT ANSWERS-The arrangement of content elements on a page and
how the space is used. Does it fall from top to bottom in stacks, or does some content float to one side
or the other?
curly braces - CORRECT ANSWERS-These are not used when defining inline CSS styles
clear - CORRECT ANSWERS-Use this CSS property to avoid having floating elements
before/after another element
static - CORRECT ANSWERS-In CSS, the "normal, or default", position of block elements within
a page
relative - CORRECT ANSWERS-In CSS, positioning a block element relative to another element
absolute - CORRECT ANSWERS-In CSS, this causes the element to appear to float above the
document and can be positioned as needed. It is completely removed from the rest of the page flow.
fixed - CORRECT ANSWERS-In CSS, this causes the element to remain in the same position
when the page is scrolled
inherit - CORRECT ANSWERS-In CSS, this causes the element to inherit its parent's position
padding - CORRECT ANSWERS-In the box model, this is the space between the content and
the border
, margin - CORRECT ANSWERS-In the box model, this is the space between the border and
surrounding elements
content, padding, border, and margin - CORRECT ANSWERS-Add all of these up to get the full
size of an element in the box model
multiple images - CORRECT ANSWERS-CSS3 now allows this in the background
background-clip - CORRECT ANSWERS-CSS3 property determining whether the background
extends into the border or not (content, padding, or border)
background-origin - CORRECT ANSWERS-CSS3 property defining the location to which the
background-position property should be relative (content, padding, or border)
length, percentage, cover, contain - CORRECT ANSWERS-CSS3 values used in a background-
size property. Last two are optional. Default is auto.
rgba - CORRECT ANSWERS-Whereas the opacity property applies to an element and its
children, you can use this to specify the opacity of a single element
@font-face - CORRECT ANSWERS-CSS3 rule allowing you to specify custom fonts
400 - CORRECT ANSWERS-This font weight is the same as normal
700 - CORRECT ANSWERS-This font weight is the same as bold
100-900 - CORRECT ANSWERS-Range of font weights
text-shadow - CORRECT ANSWERS-IE9 and earlier do not support this text property