PRACTICE EXAM QUESTIONS WITH
CORRECT DETAILED ANSWERS |
ALREADY GRADED A+<RECENT
VERSION>
1) Html5, css, javascript - answer the web development trifecta
2) Main - answer html5 tag defining the main body of a document.
Cannot be the child of the header, nav, article, aside, or footer elements.
3) Header and footer - answer these elements can also be included in
article, aside, nav, main, and section elements, not just on the page itself
4) Source - answer this element identifies the file(s) to use in a video or
audio element
5) Style guide - answer a set of standards for the writing and/or design of
documents
6) Ie9 - answer this version of ie is the first to support html5
,7) Add them via js, make them block via css - answer what should you
do to support html5 elements in pre-ie9 browsers.
8) Selector - answer the term for the part of css code that refers to the
element you want to style
9) Declaration - answer in css, the term for a property and value pair. It
must always end with a semicolon
10) Rule - answer in css, the name for a selector, property and value
all grouped together
11) Inheritance - answer the word "cascading" in css refers to this
concept
12) External, embedded, inline - answer the cascading order of css
style sheets, ordered from lowest priority to highest
13) Rel, type, href - answer linking to a css file requires these
attributes in the link element
14) Style - answer embedded css should be placed in a block
defined by this element
15) Style - answer inline css should be placed in an attribute with
this name
16) 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?
,17) Curly braces - answer these are not used when defining inline
css styles
18) Clear - answer use this css property to avoid having floating
elements before/after another element
19) Static - answer in css, the "normal, or default", position of block
elements within a page
20) Relative - answer in css, positioning a block element relative to
another element
21) Absolute - 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.
22) Fixed - answer in css, this causes the element to remain in the
same position when the page is scrolled
23) Inherit - answer in css, this causes the element to inherit its
parent's position
24) Padding - answer in the box model, this is the space between
the content and the border
25) Margin - answer in the box model, this is the space between the
border and surrounding elements
, 26) Content, padding, border, and margin - answer add all of these
up to get the full size of an element in the box model
27) Element[attribute$=value] - answer this css3 selector selects
every instance of a specified element whose specified attribute ends with
the specified value
28) Element[attribute*=value] - answer this css3 selector selects
every instance of a specified element whose specified attribute contains
the specified substring value
29) Element[attribute^=value] - answer this css3 selector selects
every instance of a specified element whose specified attribute begins
with the specified value
30) Element: checked - answer this css3 selector selects every
checked instance of a specified element
31) Element: disabled - answer this css3 selector selects every
disabled instance of a specified element
32) Element: enabled - answer this css3 selector selects every
enabled instance of a specified element
33) Element: first-of-type - answer this css3 selector selects every
instance of a specified element that is the first of its parent
34) Element: last-of-type - answer this css3 selector selects every
instance of a specified element that is the last of its parent