• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 31 pages
Exam (elaborations)

WGU C777 Web Development Applications Comprehensive Examination 2026/2027 | Verified Questions

Document preview thumbnail
Preview 4 out of 31 pages

WGU C777 Web Development Applications Comprehensive Examination 2026/2027 | Verified Questions

Content preview

WGU C777 Web Development Applications
Comprehensive Examination 2026/2027 |
Verified Questions
1. Which HTML5 element represents introductory content or navigational aids
for its nearest ancestor?
A. <section>
B. <header>
C. <main>
D. <aside>
<header> is a semantic element for introductory content, headings, or
navigation aids.
2. Which CSS property changes the text color of an element?
A. text-color
B. font-color
C. color
D. foreground
color sets the foreground text color.
3. Which JavaScript method writes text directly into the HTML document
stream?
A. console.log()
B. document.write()
C. window.alert()
D. innerHTML()
document.write() writes to the document output stream.
4. Which HTML attribute specifies the destination of a link?
A. src
B. link
C. href

,D. url
The <a> element uses href for its hyperlink destination.
5. Which CSS selector has the highest specificity?
A. div
B. .menu
C. #main
D. *
An ID selector has higher specificity than class, element, or universal selectors.

6. Which JavaScript keyword declares a block-scoped variable that cannot be
reassigned?
A. var
B. let
C. const
D. static
const creates a block-scoped binding that cannot be reassigned.

7. What is the main purpose of the HTML <head> element?
A. Display page content
B. Contain metadata about the document
C. Create the page footer
D. Store images
The <head> contains metadata such as title, links, and scripts.
8. Which CSS property creates space between an element’s content and its
border?
A. margin
B. padding
C. border-spacing
D. gap
padding is inside the border; margin is outside.

,9. What does typeof "Hello" return in JavaScript?
A. text
B. string
C. char
D. object
String values return "string" from typeof.
10. Which HTML5 element is used for scriptable graphics?
A. <svg>
B. <canvas>
C. <graphic>
D. <draw>
<canvas> provides a drawing surface controlled by JavaScript.
11. Which is a valid CSS length unit?
A. px
B. m
C. kg
D. sec
px is a valid CSS length unit.
12. How do you link an external JavaScript file?
A. <script href="app.js">
B. <script src="app.js"></script>
C. <javascript file="app.js">
D. <link rel="js" href="app.js">
External scripts use the src attribute.
13. Which CSS property makes text bold?
A. font-style: bold;
B. text-weight: bold;
C. font-weight: bold;
D. bold: true;
font-weight controls boldness.

, 14. Which HTML attribute provides alternative text for an image?
A. title
B. alt
C. caption
D. description
alt describes an image for accessibility and fallback.
15. Which JavaScript method attaches an event handler to an element?
A. element.addEvent()
B. element.addEventListener()
C. element.attachEvent()
D. element.bind()
addEventListener() registers event handlers.
16. What does box-sizing: border-box; do?
A. Includes padding and border in width/height
B. Adds a border automatically
C. Removes margins
D. Centers the box
It makes width/height include content, padding, and border.
17. How do you write a CSS comment?
A. // comment
B. <!-- comment -->
C. /* comment */
D. # comment
CSS comments use /* ... */.
18. Which HTML5 element defines a footer for a document or section?
A. <bottom>
B. <footer>
C. <end>
D. <section>
<footer> is the semantic footer element.

Document information

Uploaded on
September 25, 2026
Number of pages
31
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$26.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
1
Followers
0
Items
191
Last sold
1 day ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions