CORRECT ANSWERS
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 - correct answer ✔✔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 - correct answer
✔✔JavaScript
Which type of content should use an <aside>?
A) News feeds
B) Site copyrights
C) Headlines
D) Navigation menus - correct answer ✔✔News feeds
Which element should a developer use for a bulleted list?
A) <ul>
B) <ol>
C)
<dl>
D) <p> - correct answer
✔✔<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. - correct answer ✔✔It complies with a standard.
WGU C777 – PA QUESTIONS WITH CORRECT ANSWERS
,A web developer needs to play an audio file endlessly. The developer writes the
following HTML code:
<audio>
<source src = "media/audio.ogg" type="audio/ogg" />
</audio>
Which attribute should this developer use?
A) controls
B) autoplay
C) loop
D) src - correct answer
✔✔loop
Which attribute is used to display an image inside a <video> element
starts
before the video
A)
playing?
B)
src g
C)
im
D)
type - correct ✔ postr
poster answer ✔e
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; } - correct answer
✔✔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 - correct answer ✔✔Text
WGU C777 – PA QUESTIONS WITH CORRECT ANSWERS
, 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 - correct answer ✔✔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) . - correct answer
✔✔#
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 - correct answer
✔✔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; - correct 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> - correct answer ✔✔<p id="brand">Web
Design</p>
WGU C777 – PA QUESTIONS WITH CORRECT ANSWERS