• 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
Start selling Create your account
Document preview thumbnail
Preview 3 out of 24 pages
Exam (elaborations)

Wgu D278 Midterm Exam: Web Development Foundations Questions With Verified Answers 2026/2027

Document preview thumbnail
Preview 3 out of 24 pages

Wgu D278 Midterm Exam: Web Development Foundations Questions With Verified Answers 2026/2027

Content preview

WGU D278 MIDTERM EXAM: WEB
DEVELOPMENT FOUNDATIONS
QUESTIONS WITH VERIFIED ANSWERS
2026/2027


1. In the context of the Critical Rendering Path, which process involves calculating the

position and size of all nodes in the render tree?

A. Painting


B. DOM Construction


C. Layout


D. CSSOM Construction


Answer: C


Conceptual Explanation: The Layout stage (also known as reflow) calculates the

geometry (position and dimensions) of every visible element in the render tree.


## 2. Which HTML5 element is specifically designed to provide a caption or legend for a


element?


A.


B.

,C.


D.


Answer: A


Conceptual Explanation: The


element represents a caption or legend for its parent


element.


3. When calculating CSS specificity, which of the following selectors has the highest weight?

A. A pseudo-class like :hover


B. A class selector like .nav-item


C. An attribute selector like [type=‘text’]


D. An ID selector like #header


Answer: D


Conceptual Explanation: ID selectors carry more weight (1,0,0) than class, attribute, or

pseudo-class selectors (0,1,0).


4. In the CSS Box Model, what is the area between the border and the content called?

A. Margin


B. Outline


C. Padding

, D. Gutter


Answer: C


Conceptual Explanation: Padding is the space inside the border, separating the content

from the border.


5. Which HTTP status code range indicates a client-side error, such as a missing page?

A. 2xx


B. 3xx


C. 5xx


D. 4xx


Answer: D


Conceptual Explanation: 4xx codes (like 404 Not Found) represent client-side errors,

while 5xx codes represent server-side errors.


6. Which CSS property is used to change the order of items in a Flexbox container without

changing the HTML source?

A. flex-index


B. z-index


C. flex-direction


D. order

Document information

Uploaded on
October 15, 2026
Number of pages
24
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
£12.34

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

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Fyndlay
3.6
(79)
Sold
444
Followers
82
Items
22336
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 exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed 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