Study Guide 250 Questions with Verified Answers
HTML5, CSS, JavaScript - Correct answersThe web development trifecta
main - Correct answersHTML5 tag defining the main body of a document. Cannot be
the child of the header, nav, article, aside, or footer elements.
header and footer - Correct answersThese elements can also be included in article,
aside, nav, main, and section elements, not just on the page itself
source - Correct answersThis element identifies the file(s) to use in a video or audio
element
style guide - Correct answersA set of standards for the writing and/or design of
documents
IE9 - Correct answersThis version of IE is the first to support HTML5
Add them via JS, make them block via CSS - Correct answersWhat should you do to
support HTML5 elements in pre-IE9 browsers.
selector - Correct answersThe term for the part of CSS code that refers to the element
you want to style
declaration - Correct answersIn CSS, the term for a property and value pair. It must
always end with a semicolon
rule - Correct answersIn CSS, the name for a selector, property and value all grouped
together
inheritance - Correct answersThe word "cascading" in CSS refers to this concept
External, embedded, inline - Correct answersThe cascading order of CSS style sheets,
ordered from lowest priority to highest
rel, type, href - Correct answersLinking to a CSS file requires these attributes in the link
element
style - Correct answersEmbedded CSS should be placed in a block defined by this
element
style - Correct answersInline CSS should be placed in an attribute with this name
, document flow - Correct answersThe 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 answersThese are not used when defining inline CSS styles
clear - Correct answersUse this CSS property to avoid having floating elements
before/after another element
static - Correct answersIn CSS, the "normal, or default", position of block elements
within a page
relative - Correct answersIn CSS, positioning a block element relative to another
element
absolute - Correct answersIn 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 answersIn CSS, this causes the element to remain in the same position
when the page is scrolled
inherit - Correct answersIn CSS, this causes the element to inherit its parent's position
padding - Correct answersIn the box model, this is the space between the content and
the border
margin - Correct answersIn the box model, this is the space between the border and
surrounding elements
content, padding, border, and margin - Correct answersAdd all of these up to get the full
size of an element in the box model
element[attribute$=value] - Correct answersThis CSS3 selector selects every instance
of a specified element whose specified attribute ends with the specified value
element[attribute*=value] - Correct answersThis CSS3 selector selects every instance
of a specified element whose specified attribute contains the specified substring value
element[attribute^=value] - Correct answersThis CSS3 selector selects every instance
of a specified element whose specified attribute begins with the specified value
element:checked - Correct answersThis CSS3 selector selects every checked instance
of a specified element