WGU Web-Development-Applications Practice Exam Questions & Answers
WGU Web-Development-Applications Exam Details
Key details for this exam, checked against the published exam outline
- Exam Code
- Web-Development-Applications
- Full Name
- WGU Web Development Applications (KVO1)
- Issuing Body
- Western Governors University
- Question Format (Our Bank)
- Multiple Choice
- Full Question Set
- 136 questions Get All Questions
Free Web-Development-Applications Practice Questions
Answer each question, then see the correct answer and why it is right
Question 1 Domain 3 HTML5, CSS3, and JavaScript Foundations
Which tool does a computer rely on to read and run JavaScript code?
(Same as Question 29)
JavaScript engines execute scripts through an interpreter, although JIT compilation may take place internally.
* MDN Web Docs: JavaScript Engine
* ECMAScript Language Specification
---
Question 2 Domain 3 HTML5, CSS3, and JavaScript Foundations
Consider the following code:
html
Copy
Edit
p { font-family: Georgia, serif; }
The font-family Property
The quick brown fox jumps over the lazy dog.
Which CSS declaration would make the heading render at a 16pt font size?
The element selector h1 targets every <h1> tag, and the font-size property controls how large the text appears. CSS has no text-size property.
Correct rule:
h1 {
font-size: 16pt;
}
''font-size defines how large the font is. Element selectors such as h1 apply a style to every element of that kind.''
CSS Fonts Specification
MDN Web Docs -- font-size
W3Schools -- CSS Font Properties
Question 3 Domain 3 HTML5, CSS3, and JavaScript Foundations
Which HTML snippet should a developer add to turn on the Offline AppCache application programming interface (API)?
> ''Turning on AppCache requires a `manifest` attribute within the opening `<html>` tag.''
>
> Example:
```html
<html manifest='date.appcache'>
```
> Note: AppCache has been superseded by service workers and is now deprecated, but this approach was the proper method under earlier HTML5 standards.
* HTML5 Specification (Deprecated): Application Cache
* MDN Web Docs: Using the application cache
---
Get the complete Web-Development-Applications question set
$20$40
Question 4 Domain 3 HTML5, CSS3, and JavaScript Foundations
Refer to the code below:
![]()
What is the role of the #item token?
In CSS, the #item token is used to choose an HTML element according to its ID attribute.
CSS ID Selector:
Syntax: A hash symbol (#) comes before the ID value of the HTML element when this selector is written.
Example: When the HTML element carries the attribute id='item', CSS can pick it out and apply styling such as:
width: 300px;
}
Functionality:
Selects an Element: The ID selector points to the specific HTML element whose id attribute matches.
Specificity: ID selectors carry high specificity, so they take precedence over styles from type selectors and
Question 5 Domain 1 Validation, Testing, and Form Development
Which technology should be employed to fetch and modify information in the background?
AJAX (Asynchronous JavaScript and XML) is employed to fetch and modify data behind the scenes without refreshing the entire web page.
AJAX Summary:
Objective: Enables web pages to refresh portions of their content by sending and receiving information from a web server in the background.
Advantages: Delivers a more fluid user experience by eliminating complete page reloads.
Illustration:
Employing XMLHttpRequest:
var xhr = new XMLHttpRequest();
xhr.open('GET', 'data.json', true);
xhr.onreadystatechange = function() {
if (xhr.readyState === 4 && xhr.status === 200) {
var data = JSON.parse(xhr.responseText);
console.log(data);
}
};
xhr.send();
MDN Web Docs - AJAX
W3Schools - AJAX Introduction
Question 6 Domain 3 HTML5, CSS3, and JavaScript Foundations
Consider the snippet below:
![]()
What kind of user input is the developer asking for when setting the pattern attribute?
The pattern attribute of the <input> element defines a regular expression that the entered value must satisfy in order to be treated as valid. The supplied pattern -?\d{1,3}\.\d+ accepts strings representing decimal numbers that may begin with a minus sign, which is the format commonly used for latitude and longitude coordinates.
Pattern
-? permits an optional minus sign.
\d{1,3} matches between one and three digits.
\. matches a literal period.
\d+ matches one or more digits.
Usage Example:
<input type='text' pattern='-?\d{1,3}\.\d+' placeholder='Enter latitude or longitude'>
This pattern makes sure the input follows the format of latitude/longitude values.
MDN Web Docs on <input> pattern attribute
Regular Expressions Documentation
Question 7 Domain 1 Validation, Testing, and Form Development
Consider the following HTML document:
```html
hl {
background-colored;
}
```
A developer needs 10 pixels of space between the text and its surrounding element on all four sides (top, right, bottom, and left). Which CSS property should be used?
The CSS specification and official documentation describe the behavior as follows:
> ''The `padding` shorthand sets the padding area on every side of an element, with padding representing the room between an element's content and its border.''
>
> ''Use padding when you want to add space *inside* an element, and use margin when you want to add space *outside* of it.''
Here, the developer must place a gap between the text and the outer edge of its element, which matches the meaning of padding.
* MDN Web Docs: CSS padding property
* CSS Standard (W3C): Box model explanation
End of references
Question 8 Domain 3 HTML5, CSS3, and JavaScript Foundations
Which snippet produces an element with drag-and-drop support?
> ''The draggable attribute in HTML5 turns on drag-and-drop behavior. Setting it to draggable='true' marks the element as one that can be dragged.''
Proper syntax:
```html
```
* Names such as allowdrag, droppable, and allowdrop are not standard HTML attributes.
* MDN Web Docs: HTML Drag and Drop API
* W3C HTML Drag and Drop Specification
---
Below are the verified answers for Questions 49 through 52, arranged as requested:
---
Question 9 Domain 1 Validation, Testing, and Form Development
What action helps make sure code will pass validation?
Validation confirms whether a web page follows the rules set by a specific standard (for example HTML5 or CSS3). To pass validation reliably, a page or project should stick to one standard from start to finish.
'Using one markup standard provides consistent structure and syntax, which cuts down on the errors and inconsistencies that cause validation to fail.'
'Combining different standards may produce validation failures and unpredictable behavior in web browsers.'
W3C Markup Validation Service Documentation
HTML5 Coding Standards -- W3C
Practice every Web-Development-Applications question in the full set, each one with its verified answer and a detailed explanation
Get Full AccessWhat the WGU Web-Development-Applications Exam Covers
Exam domains verified against the Official WGU Web-Development-Applications exam guide, last checked November 2026.
Domain 1 Validation, Testing, and Form Development
Check code accuracy and test page performance. Build functional web forms with proper markup validation and inline error checking.
Domain 2 Creating Adaptive Web Documents and Pages
Make websites display correctly across all devices from desktops to mobile phones. Adjust layouts and maintain visual consistency across screen sizes.
Domain 3 HTML5, CSS3, and JavaScript Foundations
Create properly structured pages with modern visual styling and basic interactivity. Build functional and standards-aligned web content with these three core technologies.
Domain 4 Responsive Web Design (RWD) for Browsers and Apps
Create layouts that respond effectively to browser changes and mobile environments. Build designs that function well across all modern devices and applications.
Web-Development-Applications Exam FAQ
Common questions about the exam itself
What background do I need before taking the WGU Web Development Applications exam?
How difficult is the WGU Web Development Applications exam?
How long should I study for the Web Development Applications exam?
What happens on exam day for the WGU Web Development Applications assessment?
Can I retake the WGU Web Development Applications exam if I fail?
How long is the WGU Web Development Applications certification valid?
What job roles does the Web Development Applications certification prepare me for?
How does the Web Development Applications exam fit into the WGU Information Technology program?
Which objective area in the Web Development Applications exam is hardest to prepare for?
Can I take the Web Development Applications exam without enrolling in the full WGU program?
Other WGU Exams
Free practice questions for more WGU certification exams
