with Correct Answers
HTML5, CSS, JavaScript - Correct answer the web development trifecta
Main - Correct answer HTML5 tag defining the main body of a document. Cannot be the child
of the header, navy, article, aside, or footer elements.
header and footer - Correct answer These elements can also be included in article, aside,
navy, main, and section elements, not just on the page itself
Source - Correct answer this element identifies the file(s) to use in a video or audio element
Style guide - Correct answer a set of standards for the writing and/or design of documents
IE9 - Correct answer this version of IE is the first to support HTML5
Add them via JS, make them block via CSS - Correct answer what should you do to support
HTML5 elements in pre-IE9 browsers.
Selector - Correct answer the term for the part of CSS code that refers to the element you want
to style
Declaration - Correct answer In CSS, the term for a property and value pair. It must always end
with a semicolon
Rule - Correct answer In CSS, the name for a selector, property and value all grouped together
Inheritance - Correct answer the word "cascading" in CSS refers to this concept
External, embedded, inline - Correct answer the cascading order of CSS style sheets, ordered
from lowest priority to highest
Reel, type, her - Correct answer Linking to a CSS file requires these attributes in the link
element
Style - Correct answer Embedded CSS should be placed in a block defined by this element
Style - Correct answer Inline CSS should be placed in an attribute with this name
, Document flow - Correct 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 - Correct answer these are not used when defining inline CSS styles
Clear - Correct answer Use this CSS property to avoid having floating elements before/after
another element
Static - Correct answer In CSS, the "normal, or default", position of block elements within a
page
Relative - Correct answer In CSS, positioning a block element relative to another element
Absolute - Correct answer 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 answer In CSS, this causes the element to remain in the same position when
the page is scrolled
Inherit - Correct answer In CSS, this causes the element to inherit its parent's position
Padding - Correct answer in the box model, this is the space between the content and the
border
Margin - Correct answer in the box model, this is the space between the border and
surrounding elements
Content, padding, border, and margin - Correct answer Add all of these up to get the full size of
an element in the box model
element[attribute$=value] - Correct answer This CSS3 selector selects every instance of a
specified element whose specified attribute ends with the specified value
Element [attribute*=value] - Correct answer This CSS3 selector selects every instance of a
specified element whose specified attribute contains the specified substring value
Element [attribute^=value] - Correct answer This CSS3 selector selects every instance of a
specified element whose specified attribute begins with the specified value
Element: checked - Correct answer This CSS3 selector selects every checked instance of a
specified element