100% Correct Answers
Why is it important to limit words to clear, necessary verbiage on your Web pages, especially
on the home page?
A) Because most users simply scan pages quickly looking for specific information or links to it
B) Because navigation aids should occupy most of the space on Web pages
C) Because you need to leave room for the comments you placed in the code
D) Because you need to leave room for tangential information that elaborates on the main
topics - ANSWER Because most users simply scan pages quickly looking for specific information
or links to it
Consider the following code:
p style="text-align: center; margin-right: 12px;" /
This code is an example of:
A) an inline CSS style attribute.
B) a linked external style sheet attribute.
C) an internal style sheet attribute.
D) an embedded style sheet attribute. - ANSWER an inline CSS style attribute.
If you wannt a particular block-level element to always appear at the upper-right corner of the
browser window, no matter how far down a user scrolls on the page, which type of CSS
positioning should you apply?
A) Fixed
B) Static
C) Relative
D) Absolute - ANSWER Fixed
,Which of the following was introduced to CSS before CSS version 3?
A) Margins
B) Transformations
C) Transitions
D) Animations - ANSWER Margins
Jacoby wants to use CSS3 to apply a border to the bottom of the last paragraph in each
section element on a Web page. Which selector should he use?
A) section p:last-of-type
B) section p:last-in-container
C) section p[last]
D) section p~last - ANSWER section p:last-of-type
Which value of the CSS3 box-shadow property specifies the shadow's size, but is optional?
A) spread
B) inset
C) v-shadow
D) blur - ANSWER spread
Consider the following style rule:
p{
border: 1px solid #000;
width: 10em;
word-wrap: break-word;
}
, A) Long words will wrap to the next line, without a hyphen.
B) Long words will be hyphenated and wrapped to the next line.
C) Long words will expand the width of the paragraph.
D) Long words will extend past the border of the paragraph. - ANSWER Long words will wrap
to the next line, without a hyphen.
The CSS3 matrix3d transform method defines a 3D transformation using a 4x4 matrix.
How many values are required for this method?
A) 16 values
B) 4 values
C) 8 values
D) 2 values - ANSWER 16 values
What is the purpose of the CSS3 @keyframes rule?
A) It defines an animation and its position, and it is required.
B) It specifies an animation's position on the page, and it is optional.
C) It lists properties of an animation, such as its name and duration.
D) It specifies when the animation will begin and how much of it will play. - ANSWER It
defines an animation and its position, and it is required.
The CSS3 box-sizing property forces elements to fit an area in a certain way, such as allowing
the border and padding to fit within the defined width of an element instead of expanding
it. Which of the following values are used with this property?
A) content-box and border-box
B) padding-box and margin-box
C) border-box and padding-box
D) margin-box and content-box - ANSWER content-box and border-box
An object-oriented program is: