main - ANSWER HTML5 tag defining the main body of a document. Cannot be the child
of the header, nav, article, aside, or footer elements.
header and footer - ANSWER These elements can also be included in article, aside, nav,
main, and section elements, not just on the page itself
source - ANSWER This element identifies the file(s) to use in a video or audio element
style guide - ANSWER A set of standards for the writing and/or design of documents
IE9 - ANSWER This version of IE is the first to support HTML5
Add them via JS, make them block via CSS - ANSWER What should you do to support
HTML5 elements in pre-IE9 browsers.
selector - ANSWER The term for the part of CSS code that refers to the element you
want to style
declaration - ANSWER In CSS, the term for a property and value pair. It must always
end with a semicolon
rule - ANSWER In CSS, the name for a selector, property and value all grouped together
1
,inheritance - ANSWER The word "cascading" in CSS refers to this concept
External, embedded, inline - ANSWER The cascading order of CSS style sheets, ordered
from lowest priority to highest
rel, type, href - ANSWER Linking to a CSS file requires these attributes in the link ele-
ment
style - ANSWER Embedded CSS should be placed in a block defined by this element
style - ANSWER Inline CSS should be placed in an attribute with this name
document flow - ANSWER 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 - ANSWER These are not used when defining inline CSS styles
clear - ANSWER Use this CSS property to avoid having floating elements before/after
another element
static - ANSWER In CSS, the "normal, or default", position of block elements within a
page
relative - ANSWER In CSS, positioning a block element relative to another element
2
, absolute - ANSWER In CSS, this causes the element to appear to float above the docu-
ment and can be positioned as needed. It is completely removed from the rest of the page
flow.
fixed - ANSWER In CSS, this causes the element to remain in the same position when
the page is scrolled
inherit - ANSWER In CSS, this causes the element to inherit its parent's position
padding - ANSWER In the box model, this is the space between the content and the
border
margin - ANSWER In the box model, this is the space between the border and sur-
rounding elements
content, padding, border, and margin - ANSWER Add all of these up to get the full size
of an element in the box model
element[attribute$=value] - ANSWER This CSS3 selector selects every instance of a
specified element whose specified attribute ends with the specified value
element[attribute*=value] - ANSWER This CSS3 selector selects every instance of a
specified element whose specified attribute contains the specified substring value
element[attribute^=value] - ANSWER This CSS3 selector selects every instance of a
specified element whose specified attribute begins with the specified value
element:checked - ANSWER This CSS3 selector selects every checked instance of a
specified element
3