C779 WGU - CSS3 Exam - Cascade Style
Sheets Practice Guide 2026
1. True or False - The code below is correctly formatted True
to reference an external CSS document.
<head>
<link rel="stylesheet" href="css/styles.css">
</head>
2. Within which HTML element would an external CSS <head></head>
document be referenced?
3. What is the tag used to link an external CSS document? <link>
4. Is the type attribute for the <link> tag is required in No
HTML5 for referencing stylesheets?
5. What attribute within a <link> tag was used in HTML4 type
and older versions?
6. What is an advantage of linking an external CSS? the same CSS docu-
ment can be referenced
on multiple HTML docu-
ments/pages
7. What is an alternative method to reference a CSS doc- @import rule
ument within an HTML document?
8. How can you combine multiple stylesheets into a sin- Create a separate CSS
gle CSS document to reference? document with @import
references to each ditter-
ent stylesheet
9. Is the CSS reference below correctly formatted for Yes
multiple stylesheets?
, C779 WGU - CSS3 Exam - Cascade Style
Sheets Practice Guide 2026
@import url('/styles/layout.css');
@import url('styles/typography.css');
@import ur('/styles/buttons.css');
10. Which element is needed to reference a master CSS <style></style>
document within an HTML document?
11. Is the format below correct for referencing a No, a CSS document must
stylesheet within an HTML document? be reference within a
<head> element
<body>
<style> @import url("css/styles.css"); </style>
</body>
12. What is the @import rule best used for nowadays? CSS preprocessors such
as SASS (Syntactically
Awesome Style Sheets), or
for when stylesheets are
compiled into one before
loading to a page.
13. Using the inline CSS method for referencing style
stylesheets, which universal attribute is needed?
14. What happens to the <p> element below when the the paragraph will be red
style attribute is added?
<p style="color:red;">red paragraph</p)
15. How do you make an Internal reference to a CSS? By adding CSS code within
a <style> element, within
the <head> element of an
HTML document
, C779 WGU - CSS3 Exam - Cascade Style
Sheets Practice Guide 2026
16. When linking files within the same HTML project, Relative path for files lo-
would you use a relative path reference or an absolute cated in the same directo-
path? ry
17. What CSS code would resize an image file? img {
width: 300px;
}
18. What is an Absolute path reference? A path to a resource lo-
cated on a server (outside
of directory) which must
contain full URL protocal
and domain
19. Is the reference below a relative path or an absolute Absolute path
path?
<a href="http://website.com"></a>
20. While HTML controls document structure, CSS con- content appearance
trols .
21. What is the recommended name you should give the /images
folder that holds your project's images?
22. What is an advantage of using inline CSS? It can be used to quickly
test local CSS overrides.
23. Which of the following will set the background color of body { background-color:
the body to black? black; }
- body { background-color: black; }
- body = { color:black; }
Sheets Practice Guide 2026
1. True or False - The code below is correctly formatted True
to reference an external CSS document.
<head>
<link rel="stylesheet" href="css/styles.css">
</head>
2. Within which HTML element would an external CSS <head></head>
document be referenced?
3. What is the tag used to link an external CSS document? <link>
4. Is the type attribute for the <link> tag is required in No
HTML5 for referencing stylesheets?
5. What attribute within a <link> tag was used in HTML4 type
and older versions?
6. What is an advantage of linking an external CSS? the same CSS docu-
ment can be referenced
on multiple HTML docu-
ments/pages
7. What is an alternative method to reference a CSS doc- @import rule
ument within an HTML document?
8. How can you combine multiple stylesheets into a sin- Create a separate CSS
gle CSS document to reference? document with @import
references to each ditter-
ent stylesheet
9. Is the CSS reference below correctly formatted for Yes
multiple stylesheets?
, C779 WGU - CSS3 Exam - Cascade Style
Sheets Practice Guide 2026
@import url('/styles/layout.css');
@import url('styles/typography.css');
@import ur('/styles/buttons.css');
10. Which element is needed to reference a master CSS <style></style>
document within an HTML document?
11. Is the format below correct for referencing a No, a CSS document must
stylesheet within an HTML document? be reference within a
<head> element
<body>
<style> @import url("css/styles.css"); </style>
</body>
12. What is the @import rule best used for nowadays? CSS preprocessors such
as SASS (Syntactically
Awesome Style Sheets), or
for when stylesheets are
compiled into one before
loading to a page.
13. Using the inline CSS method for referencing style
stylesheets, which universal attribute is needed?
14. What happens to the <p> element below when the the paragraph will be red
style attribute is added?
<p style="color:red;">red paragraph</p)
15. How do you make an Internal reference to a CSS? By adding CSS code within
a <style> element, within
the <head> element of an
HTML document
, C779 WGU - CSS3 Exam - Cascade Style
Sheets Practice Guide 2026
16. When linking files within the same HTML project, Relative path for files lo-
would you use a relative path reference or an absolute cated in the same directo-
path? ry
17. What CSS code would resize an image file? img {
width: 300px;
}
18. What is an Absolute path reference? A path to a resource lo-
cated on a server (outside
of directory) which must
contain full URL protocal
and domain
19. Is the reference below a relative path or an absolute Absolute path
path?
<a href="http://website.com"></a>
20. While HTML controls document structure, CSS con- content appearance
trols .
21. What is the recommended name you should give the /images
folder that holds your project's images?
22. What is an advantage of using inline CSS? It can be used to quickly
test local CSS overrides.
23. Which of the following will set the background color of body { background-color:
the body to black? black; }
- body { background-color: black; }
- body = { color:black; }