WGU C779 WEB DEVELOPMENT
FOUNDATIONS SCRIPT COMPLETE
ANSWERS GRADED A+
◉ Which file type is used by businesses to interchange website
data with many different types of applications?
XML
HTML
CSS
SQL
Answer: XML
◉ Which CSS implementation technique allows element style
updates to multiple pages from a single location?
External CSS
Internal CSS
Inline CSS
Embedded CSS
Answer: External CSS
◉ Which technique for implementing CSS in an HTML file is used
for page-level style declarations?
Internal CSS
,External CSS
Style attribute
Link tag
Answer: Internal CSS
◉ Which tag is used to reference an external CSS sheet within an
HTML document?
<link>
<embed>
<style>
<input>
Answer: <link>
◉ Which style rule selects and formats every childless paragraph
element?
p:empty {
width: 100px;
height: 20px
;background: #ff0000;
}
p:enabled {
width: 100px;
height: 20px;
background: #ff0000;
,}
p:default {
width: 100px;
height: 20px;
background: #ff0000;
}
p:disabled {
width: 100px;
height: 20px
;background: #ff0000;
}
Answer: 1.
p:empty {
width: 100px;
height: 20px
;background: #ff0000;
}
◉ Use the given code snippet to answer the following question:
<style>
#one.two {
, color: yellow;
}
</style>
Which code should be used to display the text in yellow?
<div id="one" class="two">This should be yellow</div>
<div id="one"><div class="two">This should be yellow</div>
</div> <div class="one two">This should be yellow</div>
<div class="one"><div class="two">This should be
yellow</div></div>
Answer: <div id="one" class="two">This should be yellow</div>
◉ Which CSS selector styles the first character of a sentence
differently?
::first-line
:first-child
:first-of-type
::first-letter
Answer: ::first-letter
FOUNDATIONS SCRIPT COMPLETE
ANSWERS GRADED A+
◉ Which file type is used by businesses to interchange website
data with many different types of applications?
XML
HTML
CSS
SQL
Answer: XML
◉ Which CSS implementation technique allows element style
updates to multiple pages from a single location?
External CSS
Internal CSS
Inline CSS
Embedded CSS
Answer: External CSS
◉ Which technique for implementing CSS in an HTML file is used
for page-level style declarations?
Internal CSS
,External CSS
Style attribute
Link tag
Answer: Internal CSS
◉ Which tag is used to reference an external CSS sheet within an
HTML document?
<link>
<embed>
<style>
<input>
Answer: <link>
◉ Which style rule selects and formats every childless paragraph
element?
p:empty {
width: 100px;
height: 20px
;background: #ff0000;
}
p:enabled {
width: 100px;
height: 20px;
background: #ff0000;
,}
p:default {
width: 100px;
height: 20px;
background: #ff0000;
}
p:disabled {
width: 100px;
height: 20px
;background: #ff0000;
}
Answer: 1.
p:empty {
width: 100px;
height: 20px
;background: #ff0000;
}
◉ Use the given code snippet to answer the following question:
<style>
#one.two {
, color: yellow;
}
</style>
Which code should be used to display the text in yellow?
<div id="one" class="two">This should be yellow</div>
<div id="one"><div class="two">This should be yellow</div>
</div> <div class="one two">This should be yellow</div>
<div class="one"><div class="two">This should be
yellow</div></div>
Answer: <div id="one" class="two">This should be yellow</div>
◉ Which CSS selector styles the first character of a sentence
differently?
::first-line
:first-child
:first-of-type
::first-letter
Answer: ::first-letter