Pre-Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

Free Practice Questions for the WGU Courses and Certificates Web-Development-Applications Exam (2026 Updated)

At Marks4sure, we are dedicated to providing IT professionals with the most accurate and reliable preparation materials for the WGU Web-Development-Applications exam. To support your certification journey, we have made a selection of our premium 2026 Courses and Certificates practice questions and answers available completely free. You can take this practice test as many times as you need. Every question includes a detailed, expertly verified explanation to ensure you fully grasp the core security concepts before test day.

Questions 4

Which language should a developer use to create a border with rounded corners on a web page using in-line markup?

Options:

A.

XML

B.

HTML5

C.

CSS3

D.

Java

Buy Now
Questions 5

Which code segment creates a slider field that accepts a numeric value ranging from 1 through 10?

Options:

A.

` < input type="range" name="sat-level" max="10" > `

B.

` < input type="range" name="sat-level" min="1" max="10" > `

C.

` < input type="number" name="sat-level" min="1" max="10" > `

D.

` < input type="number" name="sat-level" max="10" > `

Buy Now
Questions 6

A javaScript programmer defines the following function:

Web-Development-Applications Question 6

What is the name of the function?

Options:

A.

Function

B.

Number

C.

Return

D.

square

Buy Now
Questions 7

Given the following JavaScript code:

```javascript

< script >

var enabled = true;

< /script >

```

Which code segment tests the variable value and displays an alert message?

Options:

A.

```javascript

if enabled {

alert('ok');

}

```

B.

```javascript

if (enabled == true){

alert('ok');

}

```

C.

```javascript

if(enabled){

alert('ok');

}

```

D.

```javascript

if enabled == true {

alert('ok');

}

```

Buy Now
Questions 8

Given the following CSS:

Web-Development-Applications Question 8

What is being configured?

Options:

A.

Rendering to the canvas

B.

Processing in the browser

C.

Processing on a server

Buy Now
Questions 9

Which tag is required when importing the jQuery library?

Options:

A.

Section

B.

Body

C.

Script

D.

meta

Buy Now
Questions 10

A file named application, Appchache contains the following content:

Web-Development-Applications Question 10

Which attribute should a developer set to application. Appchache so the four files will be cached?

Options:

A.

The src attribute of the < script > element

B.

The srcset attribute of the < source > element

C.

The manifest attribute of the < html > element

D.

The href attribute of the < Link > element

Buy Now
Questions 11

Which code segment contains a conditional expression?

Options:

A.

`var result = count > 10 ? "Done" : getResult();`

B.

`var result = aCount * 1000 == 3000000;`

C.

`var result = count++ > 10;`

D.

`var result = dataCount;`

Buy Now
Questions 12

Given the following code:

Web-Development-Applications Question 12

What is occurring?

Options:

A.

An event handler is tracking keyboard strokes.

B.

JavaScript is using the DOM to make a style change.

C.

In-line CSS is styling the < h1 > tag.

Buy Now
Questions 13

Which framework assists designers with adaptive page layout?

Options:

A.

Modernize

B.

Bootstrap

C.

React

D.

Knockout

Buy Now
Questions 14

Which HTML segment should a developer use to enable the Offline AppCache application programming interface (API)?

Options:

A.

` < meta cache="date.appcache" > `

B.

` < html cache="date.appcache" > `

C.

` < meta manifest="date.appcache" > `

D.

` < html manifest="date.appcache" > `

Buy Now
Questions 15

Which event fires when an issue occurs while an external file loads?

Options:

A.

error

B.

invalid

C.

stalled

D.

suspend

Buy Now
Questions 16

A web designer evaluates the following CSS rule:

.head { color: #0000ff; }

Which element is selected as a result?

Options:

A.

< head >

B.

< H1 >

C.

< div id="head" >

D.

< div class="head" >

Buy Now
Questions 17

Given the following code:

html

Copy

Edit

< !DOCTYPE html >

< html >

< head >

< style >

p { font-family: Georgia, serif; }

< /style >

< /head >

< body >

< h1 > The font-family Property < /h1 >

< p > The quick brown fox jumps over the lazy dog. < /p >

< /body >

< /html >

Which CSS rule would ensure the heading displays at 16pt size?

Options:

A.

#h1 { font-size: 16pt; }

B.

h1 { text-size: 16pt; }

C.

#h1 { text-size: 16pt; }

D.

h1 { font-size: 16pt; }

Buy Now
Questions 18

What should be used to request and Update data in the background?

Options:

A.

Canvas

B.

AJAX

C.

API

D.

DOM

Buy Now
Questions 19

Which line of code creates a field that is displayed as a text box with up-and-down arrows and accepts a numeric value of less than 100?

Options:

A.

` < input type="number" name="experience" maxlength="100" > `

B.

` < input type="range" name="experience" maxlength="100" > `

C.

` < input type="number" name="experience" max="100" > `

D.

` < input type="range" name="experience" max="100" > `

Buy Now
Questions 20

What should a developer increase to create space between a border and content?

Options:

A.

Margin

B.

Width

C.

Height

D.

Padding

Buy Now
Questions 21

Given the following CSS margin shorthand property:

```css

p {

margin: 10px 20px 25px 30px;

}

```

How many pixels is the top margin?

Options:

A.

10px

B.

20px

C.

25px

D.

30px

Buy Now
Questions 22

Which video formats does the < video > element in HTML5 support?

Choose 2 answers.

Options:

A.

QuickTime

B.

FLV

C.

AVI

D.

WebM

E.

MPEG-4

Buy Now
Questions 23

Given the following HTML statement:

Web-Development-Applications Question 23

And the following style:

Web-Development-Applications Question 23

Which line of the changes the background color of the < div > tag when the width is between 600 pixels and 900 pixels or more than 1, 100 pixels?

A)

Web-Development-Applications Question 23

B)

Web-Development-Applications Question 23

C)

Web-Development-Applications Question 23

D)

Web-Development-Applications Question 23

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 24

A developer tests a website on a tablet and notices that the font is small and unreadable.

What should this developer do to fix the issue?

Options:

A.

Update to a current HTML version

B.

Link the full site to the domain

C.

Renew the expired SSL certificate

D.

Build the site for mobile devices

Buy Now
Questions 25

Which HTML elements support the ` < script > ` tag to invoke JavaScript code?

Choose 2 answers:

Options:

A.

body

B.

head

C.

form

D.

meta

E.

title

Buy Now
Questions 26

Which element attaches an external CSS document to a web page?

Options:

A.

< style >

B.

< Link >

C.

< Script >

D.

< Meta >

Buy Now
Questions 27

What is the purpose of cascading style sheets (CSSs)?

Options:

A.

Structuring and describing web page content

B.

Providing functionality that was previously provided by plug-ins

C.

Changing the content of a web page dynamically

D.

Setting rules to define how page content looks when rendered

Buy Now
Questions 28

Given the following markup and no style sheet:

Web-Development-Applications Question 28

Which control does the input element render?

Options:

A.

Slider

B.

Button

C.

Drop-down

D.

Text

Buy Now
Questions 29

Which formats does the < audio > element in HTML5 support?

Choose 2 answers.

Options:

A.

WAV

B.

WMA

C.

Ogg

D.

MPEG-4

E.

M4A

Buy Now
Questions 30

Which CSS transformation method should a developer use to reposition an element horizontally on the 2-D plane?

Options:

A.

Skewx (angle)

B.

Scale (x,y)

C.

Translatex(n)

D.

Scalex(n)

Buy Now
Questions 31

What represents the value of the pattern attribute of an input element in an HTML

Options:

A.

A SQL statement

B.

A regular expression

C.

A style sheet

D.

A JavaScript function

Buy Now
Questions 32

Which layout design is easiest to manage on a variety of devices?

Options:

A.

Flow

B.

Table

C.

Grid

D.

Border

Buy Now
Questions 33

What represents the value of the `pattern` attribute of an input element in an HTML form?

Options:

A.

A style sheet

B.

A regular expression

C.

A JavaScript function

D.

A SQL statement

Buy Now
Questions 34

Given the following CSS code:

Web-Development-Applications Question 34

Which type of selector is used?

Options:

A.

Group

B.

Class

C.

Element

D.

ID

Buy Now
Questions 35

Which CSS code block styles the ` < div > ` tag with a border image that is 80 pixels wide, 40 pixels high, and uses `round` as a repetition style?

Options:

A.

`div { border-image: url("waterfall.png") 40 80 round; }`

B.

`div { border-image: url("waterfall.png") 80 40 round; }`

C.

`div { borderX^/iage; ur 1 ("waterfall.png") 80 40 round; }`

D.

`div { border-image; url("waterfall.png") 40 80 round; }`

Buy Now
Questions 36

Which CSS positioning scheme should a developer use to make an element appear completely removed from the rest of the page flow?

Options:

A.

Absolute

B.

Inherit

C.

Relative

D.

Static

Buy Now
Questions 37

Which HTML tag should a developer use to create a drop-down list?

Options:

A.

< Option >

B.

< Section >

C.

< Output >

D.

< Select >

Buy Now
$64.99   $185.69

Testing Engine

$49.99   $142.83

PDF (Q&A)

$54.99   $157.11