Exam Questions With Verified Multiple
Choice and Conceptual Actual
100% Correct Detailed Answers
Guaranteed Pass!!Current Update!!
1. What should be added first when embedding CSS in a single web page as an
internal style sheet?
A) A <style> element to the <head> section
B) A <head> element to the <style> section
C) Declarations within a <style> </style> block
D) Declarations within a <head> </head> block - ANSWER A <style> element
to the <head> section
2. What is the first character a developer should use for an id selector in CSS?
A) #
B) :
C) ;
D) . - ANSWER #
3. A developer has an image that needs to remain in the same place when the
page is scrolled. Which CSS positioning scheme should this developer use?
,A) Static
B) Absolute
C) Relative
D) Fixed - ANSWER Fixed
4. 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;
5. 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>
6. Which CSS selector defines an element with a class attribute equal to subject?
, A) #subject
B) .subject
C) @subject
D) ::subject - ANSWER .subject
7. What immediately encloses the padding in the CSS box model?
A) Content
B) Margin
C) Border
D) Table - ANSWER Border
8. What is the outermost box of the CSS box model?
A) Border
B) Padding
C) Content
D) Margin - ANSWER Margin
9. 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">