EXAM BANK 2024/2025 | ACCURATE REAL EXAM TESTING
VERSIONS AND A STUDY GUIDE | EXPERT VERIFIED FOR
GUARANTEED PASS
A developer needs two pixels of space on the left side of content relative to the border. Which CSS
property should this developer use?
A) padding-left:2px;
B) border:2px;
C) margin-left:2px;
D) float:left; - ANSWER-padding-left:2px;
A web designer reviews the following CSS3 code:
#brand {
font-weight: bold;
}
Which paragraph element will it select?
A) <p class="brand">Web Design</p>
B) <p id="brand">Web Design</p>
C) <p style="brand">Web Design</p>
D) <p id="#brand">Web Design</p> - ANSWER-<p id="brand">Web Design</p>
Which CSS selector defines an element with a class attribute equal to subject?
A) #subject
B) .subject
C) @subject
D) ::subject - ANSWER-.subject
What immediately encloses the padding in the CSS box model?
A) Content
,B) Margin
C) Border
D) Table - ANSWER-Border
What is the outermost box of the CSS box model?
A) Border
B) Padding
C) Content
D) Margin - ANSWER-Margin
Which markup positions an image so that the lower part of it is even with the lower part of adjoining
text?
A) <img src="sample.jpg" vertical-align="baseline">
B) <img src="sample.jpg" text-align="bottom">
C) <img src="sample.jpg" padding="baseline">
D) <img src="sample.jpg" margin="bottom"> - ANSWER-<img src="sample.jpg" vertical-
align="baseline">
Which syntax for a CSS class floats images to the right?
A) .floatright {
float: right;
margin: 7px;
}
B) .floatright <
float: right;
margin: 7px;
>
C) .float {
floatright: right;
margin: 7px;
}
, D) .float <
float: right;
margin: 7px;
> - ANSWER-.floatright {
float: right;
margin: 7px;
}
Which CSS transition should be used on an image to make it ease in when a user's mouse hovers
over that image?
A) transition-property
B) transition-duration
C) transition-timing-function
D) transition-delay - ANSWER-transition-timing-function
Which CSS property should a developer use to specify the bottom of a 3D element?
A) transform
B) perspective
C) transform-style
D) perspective-origin - ANSWER-perspective-origin
A web designer creates the following animation by using CSS3:
#texteffect {
position: relative;
animation-name: scroll;
animation-duration: 5s;
animation-timing-function: linear;
animation-play-state: running;
}
@keyframes scroll {
from {left: 0px;}