OBJECTIVE ASSESSMENT AND PRE ASSESMENT
WITHSTUDY GUIDE AND INSTRUCTOR SUMMARIZED
NOTES | ACCURATE AND VERIFIED FOR GUARANTEED
PASS | LATEST UPDATE
Which style sheet code defines the 18-pixel Arial font for all level two headers?
A) h2
{
font-family-: Arial; font-weight: 18px; }
B) .h2
{
font-name: Arial; font-size: 18px; }
C) h2
{
font-family: Arial; font-size: 18px; }
D) .h2
{
font-name: Arial; font-weight:18px; }
h2
{
font-family: Arial; font-size: 18px; }
Given the following CSS code:
body {
color : white;
}
Which part of an element is affected by the color property?
A) Text
B) Border
C) Background
D) Shadow
Text
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
A <style> element to the <head> section
,What is the first character a developer should use for an id selector in CSS?
A) #
B) :
C) ;
D) .
#
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
Fixed
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;
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>
<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
.subject
What immediately encloses the padding in the CSS box model?
A) Content
,B) Margin
C) Border
D) Table
Border
What is the outermost box of the CSS box model?
A) Border
B) Padding
C) Content
D) Margin
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">
<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;
>
.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
transition-timing-function
What is a characteristic of a web page with responsive design?
A) The ability to react to user events
B) A measure of the page load speed
C) The ability to resize to the screen size
D) A measure of the page close speed
The ability to resize to the screen size
Which language provides dynamic content for a web page across all browsers?
A) XML
B) JavaScript
C) HTML5
D) XHTML
JavaScript
Which type of content should use an <aside>?
A) News feeds
B) Site copyrights
C) Headlines
D) Navigation menus
News feeds
Which element should a developer use for a bulleted list?
A) <ul>
B) <ol>
C) <dl>
D) <p>
<ul>
What does an HTML5 code validator confirm about code?
A) It contains no warnings.
B) It works in every browser.
C) It complies with a standard.
D) It follows best practices.
It complies with a standard.