Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 31 pages
Exam (elaborations)

WGU C777 Web Development Applications Objective Assessment (OA) Questions with Answers-Latest Update

Document preview thumbnail
Preview 4 out of 31 pages

This document covers WGU C777 Web Development Applications material including HTML5, CSS, responsive design, JavaScript, DOM manipulation, forms and validation, HTTP and client-server architecture, accessibility, web security, APIs, AJAX, JSON, and RESTful architecture. It addresses semantic HTML, CSS layouts, Flexbox and Grid, JavaScript operators and functions, event handling, form validation, HTTP methods and status codes, WCAG, ARIA, XSS, SQL injection, CSRF, password hashing, fetch(), and JSON, making it excellent for exam preparation.

Content preview

C777 OA Questions




WGU C777
Web Development Applications
Objective Assessment (OA)

Questions with Answers-Latest Update



1. Which HTML5 element is used to define the main navigation links of a web
page?
A. <nav>
B. <main>
C. <section>
D. <aside>
Answer: A
Rationale: The <nav> element is a semantic HTML5 tag specifically intended to
contain a block of primary navigation links, helping browsers and assistive
technologies identify site navigation.

2. Which doctype declaration correctly identifies a document as HTML5?
A. <!DOCTYPE HTML PUBLIC>
B. <!DOCTYPE html>
C. <!DOCTYPE html5>
D. <!DOC html>
Answer: B
Rationale: HTML5 simplified the doctype to the case-insensitive <!DOCTYPE
html>, unlike the longer public identifiers required by HTML4 and XHTML.

3. Which attribute makes an HTML input field mandatory before form
submission?


Page 1

, C777 OA Questions



A. mandatory
B. validate
C. required
D. need
Answer: C
Rationale: The required attribute is a built-in HTML5 form validation attribute
that prevents submission until the field contains a value.

4. What is the purpose of the <alt> attribute on an <img> tag?
A. To set the image alignment
B. To provide alternative text for screen readers and when the image fails to
load
C. To define the image's file size
D. To apply a CSS class
Answer: B
Rationale: The alt attribute supplies a text description used by assistive
technology and displayed if the image cannot render, which is essential for
accessibility.

5. Which semantic element best represents an independent, self-contained
piece of content such as a blog post?
A. <div>
B. <article>
C. <span>
D. <section>
Answer: B
Rationale: <article> is designed for content that could stand alone and be
distributed independently, such as a blog post, news story, or forum post.

6. Which HTML element is used to embed a scalable vector graphic directly in a
page?
A. <canvas>
B. <img>
C. <svg>
D. <figure>


Page 2

, C777 OA Questions



Answer: C
Rationale: <svg> allows vector graphics to be defined directly in the markup,
enabling scalability without quality loss and direct DOM/CSS manipulation.

7. In HTML5, which input type restricts entry to a valid email address format?
A. type='text'
B. type='email'
C. type='mail'
D. type='string'
Answer: B
Rationale: The email input type triggers built-in browser validation that checks
for a basic valid email pattern before allowing submission.

8. What does the <head> section of an HTML document typically contain?
A. Visible page content
B. Metadata, title, and links to stylesheets/scripts
C. The footer of the page
D. Only images
Answer: B
Rationale: The <head> holds non-visible information such as the document title,
character encoding, metadata, and references to CSS/JS resources.

9. Which tag is used to create a hyperlink to another page?
A. <link>
B. <a>
C. <href>
D. <nav>
Answer: B
Rationale: The <a> (anchor) element with an href attribute creates a hyperlink;
<link> is used for external resources like stylesheets, not for user-facing
hyperlinks.

10. Which HTML5 element provides native audio playback controls without
requiring a plugin?
A. <sound>


Page 3

, C777 OA Questions



B. <media>
C. <audio>
D. <track>
Answer: C
Rationale: The <audio> element natively supports playing sound files and can
display built-in browser controls when the controls attribute is added.

11. What is the correct way to add a comment in HTML?
A. // comment
B. <!-- comment -->
C. /* comment */
D. # comment
Answer: B
Rationale: HTML comments are wrapped in <!-- and --> and are ignored by the
browser when rendering the page.

12. Which attribute of the <form> element specifies where to send form data
upon submission?
A. method
B. action
C. target
D. enctype
Answer: B
Rationale: The action attribute specifies the URL that will process the
submitted form data, while method defines how the data is sent (GET or POST).

13. Which list type automatically numbers its items?
A. <ul>
B. <ol>
C. <dl>
D. <li>
Answer: B
Rationale: <ol> creates an ordered list where browsers automatically apply
sequential numbering to each <li> item.


Page 4

Document information

Uploaded on
August 22, 2026
Number of pages
31
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$11.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

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.
KelvinBrooks
4.3
(94)
Sold
839
Followers
11
Items
5826
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