APPLICATIONS ACTUAL EXAM
QUESTIONS AND ANSWERS GRADED External, embedded, inline correct answerThe cascading order of CSS style sheets, ordered from lowest
priority to highest
A+
rel, type, href correct answerLinking to a CSS file requires these attributes in the link element
HTML5, CSS, JavaScript correct answerThe web development trifecta
style correct answerEmbedded CSS should be placed in a block defined by this element
main correct answerHTML5 tag defining the main body of a document. Cannot be the child of the
header, nav, article, aside, or footer elements. style correct answerInline CSS should be placed in an attribute with this name
header and footer correct answerThese elements can also be included in article, aside, nav, main, and document flow correct answerThe arrangement of content elements on a page and how the space is
section elements, not just on the page itself used. Does it fall from top to bottom in stacks, or does some content float to one side or the other?
source correct answerThis element identifies the file(s) to use in a video or audio element curly braces correct answerThese are not used when defining inline CSS styles
style guide correct answerA set of standards for the writing and/or design of documents clear correct answerUse this CSS property to avoid having floating elements before/after another
element
IE9 correct answerThis version of IE is the first to support HTML5
static correct answerIn CSS, the "normal, or default", position of block elements within a page
Add them via JS, make them block via CSS correct answerWhat should you do to support HTML5
elements in pre-IE9 browsers. relative correct answerIn CSS, positioning a block element relative to another element
selector correct answerThe term for the part of CSS code that refers to the element you want to style absolute correct answerIn 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.
declaration correct answerIn CSS, the term for a property and value pair. It must always end with a
semicolon fixed correct answerIn CSS, this causes the element to remain in the same position when the page is
scrolled
rule correct answerIn CSS, the name for a selector, property and value all grouped together
, inherit correct answerIn CSS, this causes the element to inherit its parent's position element1~element2 correct answerThis 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
padding correct answerIn the box model, this is the space between the content and the border
multiple images correct answerCSS3 now allows this in the background
margin correct answerIn the box model, this is the space between the border and surrounding elements
background-clip correct answerCSS3 property determining whether the background extends into the
content, padding, border, and margin correct answerAdd all of these up to get the full size of an element border or not (content, padding, or border)
in the box model
background-origin correct answerCSS3 property defining the location to which the background-position
element[attribute$=value] correct answerThis CSS3 selector selects every instance of a specified property should be relative (content, padding, or border)
element whose specified attribute ends with the specified value
length, percentage, cover, contain correct answerCSS3 values used in a background-size property. Last
element[attribute*=value] correct answerThis CSS3 selector selects every instance of a specified two are optional. Default is auto.
element whose specified attribute contains the specified substring value
rgba correct answerWhereas the opacity property applies to an element and its children, you can use
element[attribute^=value] correct answerThis CSS3 selector selects every instance of a specified this to specify the opacity of a single element
element whose specified attribute begins with the specified value
@font-face correct answerCSS3 rule allowing you to specify custom fonts
element:checked correct answerThis CSS3 selector selects every checked instance of a specified element
400 correct answerThis font weight is the same as normal
element:disabled correct answerThis CSS3 selector selects every disabled instance of a specified
element
700 correct answerThis font weight is the same as bold
element:enabled correct answerThis CSS3 selector selects every enabled instance of a specified element
100-900 correct answerRange of font weights
element:first-of-type correct answerThis CSS3 selector selects every instance of a specified element that
is the first of its parent text-shadow correct answerIE9 and earlier do not support this text property
element:last-of-type correct answerThis CSS3 selector selects every instance of a specified element that font-family and src correct answerThese two CSS3 properties are required by @font-face
is the last of its parent
transform correct answerAn effect that changes an element's shape, size and/or position