WGU C777 Web Development Applications OA
PRACTICE QUESTION BANK
WGU C777 Web Development
Applications OA
HTML5, CSS3, JavaScript, DOM and Web APIs
Multiple-Choice Questions with Answers plus Rationale
Page 1
, WGU C777 Web Development Applications OA
Question 1
Which HTML5 element is used to define the main navigation links of a
page?
A. <menu>
B. <header>
C. <links>
D. <nav>
Correct Answer: D. <nav>
Rationale: The <nav> element is the semantic container for major
navigation blocks.
Question 2
Which HTML5 element represents self-contained content such as a
blog post?
A. <div>
B. <article>
C. <section>
D. <aside>
Correct Answer: B. <article>
Rationale: <article> is for independently distributable content.
Page 2
, WGU C777 Web Development Applications OA
Question 3
Which element holds content tangentially related to the main
content, such as a sidebar?
A. <footer>
B. <aside>
C. <figure>
D. <main>
Correct Answer: B. <aside>
Rationale: <aside> marks related but separate content.
Question 4
What is the purpose of the <!DOCTYPE html> declaration?
A. Adds a script
B. Tells the browser to render the page in HTML5 standards mode
C. Defines the title
D. Links the CSS
Correct Answer: B. Tells the browser to render the page in HTML5
standards mode
Rationale: The doctype avoids quirks mode.
Page 3
, WGU C777 Web Development Applications OA
Question 5
Which element is used to include an image with alternative text?
A. <pic alt="description">
B. <image src="a.png">
C. <img src="a.png" alt="description">
D. <img href="a.png">
Correct Answer: C. <img src="a.png" alt="description">
Rationale: The alt attribute provides text for accessibility and failed
loads.
Question 6
Which attribute makes an HTML form field required before
submission?
A. required
B. mandatory
C. validate
D. needed
Correct Answer: A. required
Rationale: The Boolean required attribute triggers browser
validation.
Page 4
PRACTICE QUESTION BANK
WGU C777 Web Development
Applications OA
HTML5, CSS3, JavaScript, DOM and Web APIs
Multiple-Choice Questions with Answers plus Rationale
Page 1
, WGU C777 Web Development Applications OA
Question 1
Which HTML5 element is used to define the main navigation links of a
page?
A. <menu>
B. <header>
C. <links>
D. <nav>
Correct Answer: D. <nav>
Rationale: The <nav> element is the semantic container for major
navigation blocks.
Question 2
Which HTML5 element represents self-contained content such as a
blog post?
A. <div>
B. <article>
C. <section>
D. <aside>
Correct Answer: B. <article>
Rationale: <article> is for independently distributable content.
Page 2
, WGU C777 Web Development Applications OA
Question 3
Which element holds content tangentially related to the main
content, such as a sidebar?
A. <footer>
B. <aside>
C. <figure>
D. <main>
Correct Answer: B. <aside>
Rationale: <aside> marks related but separate content.
Question 4
What is the purpose of the <!DOCTYPE html> declaration?
A. Adds a script
B. Tells the browser to render the page in HTML5 standards mode
C. Defines the title
D. Links the CSS
Correct Answer: B. Tells the browser to render the page in HTML5
standards mode
Rationale: The doctype avoids quirks mode.
Page 3
, WGU C777 Web Development Applications OA
Question 5
Which element is used to include an image with alternative text?
A. <pic alt="description">
B. <image src="a.png">
C. <img src="a.png" alt="description">
D. <img href="a.png">
Correct Answer: C. <img src="a.png" alt="description">
Rationale: The alt attribute provides text for accessibility and failed
loads.
Question 6
Which attribute makes an HTML form field required before
submission?
A. required
B. mandatory
C. validate
D. needed
Correct Answer: A. required
Rationale: The Boolean required attribute triggers browser
validation.
Page 4