Docsity

WGU E009 Web Design Fundamentals.pdf, Exams of Information Technology

Toggle sidebar
bg1
WGU E009 Web Design Fundamentals โ€“ 150 Practice
Questions & Answers
Q1. What does HTML stand for?
A. Hyper Text Markup Language
B. High Tech Modern Language
C. Hyper Transfer Markup Language
D. Home Text Markup Language
Answer: A
Rationale: HTML stands for Hyper Text Markup Language. The "Hyper Text" refers to
links connecting web pages, and "Markup Language" refers to using tags to structure
content .
Q2. What is the purpose of the <!DOCTYPE html> declaration?
A. To define the character encoding for the document
B. To inform the browser which version of HTML the page is written in
C. To link the HTML document to an external CSS file
D. To specify the language of the content
Answer: B
Rationale: The <!DOCTYPE html> declaration tells the web browser which version of HTML
the page is using, ensuring the browser renders the page in standards mode .
Q3. Which tag defines the main content area visible to the user?
A. <head>
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download WGU E009 Web Design Fundamentals.pdf and more Exams Information Technology in PDF only on Docsity!

WGU E009 Web Design Fundamentals โ€“ 150 Practice

Questions & Answers

Q1. What does HTML stand for? A. Hyper Text Markup Language B. High Tech Modern Language C. Hyper Transfer Markup Language D. Home Text Markup Language Answer: A Rationale: HTML stands for Hyper Text Markup Language. The "Hyper Text" refers to links connecting web pages, and "Markup Language" refers to using tags to structure content. Q2. What is the purpose of the declaration? A. To define the character encoding for the document B. To inform the browser which version of HTML the page is written in C. To link the HTML document to an external CSS file D. To specify the language of the content Answer: B Rationale: The declaration tells the web browser which version of HTML the page is using, ensuring the browser renders the page in standards mode. Q3. Which tag defines the main content area visible to the user? A.

B. C. D. Answer: B Rationale: The element contains all visible content of a web page, including text, images, links, and other interactive elements. Q4. Which element contains metadata, title, and links to external resources? A. B. C. D. Answer: C Rationale: The section contains metadata (character encoding, viewport settings), the page title, and links to external resources like CSS and JavaScript files. Content in is not visible on the page itself. Q5. Which HTML tag is used to declare the document type? A. B. C. D. Answer: C Rationale: The declaration is placed at the beginning of an HTML document and tells the browser which version of HTML the page is written in.

Q9. Which tag creates an unordered list? A. B. C. D. Answer: B Rationale: defines an unordered (bulleted) list. Each list item is defined with . creates an ordered (numbered) list. Q10. Which tag creates a hyperlink? A. B. C. D. Answer: B Rationale: The (anchor) tag creates hyperlinks. The href attribute specifies the destination URL. Q11. Which attribute is required for the tag? A. alt only B. title only C. src and alt D. src only Answer: C Rationale: requires both src (image file location) and alt (alternative text for accessibility).

Q12. What does the alt attribute provide? A. An alternative image source B. Image alignment C. Alternative text for accessibility and if image fails to load D. Image width Answer: C Rationale: The alt attribute provides text alternative for accessibility (screen readers) and displays if the image cannot load. Q13. Which special character code represents a non-breaking space? A. & B. < C. D. ยฉ Answer: C Rationale: is the HTML entity for a non-breaking space, preventing automatic line breaks. Q14. What is the functional purpose of HTML in web design? A. To style the visual appearance B. To add interactivity C. To structure content and define meaning D. To manage server-side logic Answer: C Rationale: HTML's primary purpose is to structure content and define meaning using elements like headings, paragraphs, and links.

Q18. Which of the following is correct HTML nesting? A.

Text

B.

Text

C.

Text

D.

Text

Answer: A Rationale: Proper nesting requires closing tags in the reverse order they were opened. Q19. What is the purpose of CSS in web development? A. To structure content B. To control the visual appearance and layout C. To add interactivity D. To manage databases Answer: B Rationale: CSS (Cascading Style Sheets) controls the visual appearance, layout, and presentation of web pages. Q20. What is the difference between position: relative and position: absolute? A. Relative stays in flow; absolute is removed from flow B. Absolute stays in flow; relative is removed from flow C. Both stay in flow D. Both are removed from flow Answer: A Rationale: position: relative keeps the element in normal flow while offsetting visually. position: absolute removes it entirely from flow, positioning relative to nearest positioned ancestor.

Q21. What does CSS text-align designate? A. Vertical alignment of text B. Horizontal alignment of text C. Font size D. Line height Answer: B Rationale: text-align designates horizontal alignment of text within a block element. Values include left, right, center, and justify. Q22. What does CSS font-family designate? A. Font size B. Font color C. Typeface or font for text D. Text alignment Answer: C Rationale: font-family designates the typeface or font for text, specifying a prioritized list of font names. Q23. What type of CSS requires the browser to download HTML first, then CSS files? A. Inline CSS B. Internal CSS C. External CSS D. Embedded CSS Answer: C Rationale: External CSS requires the browser to download HTML first, then linked CSS files. This method separates content from presentation and enables browser caching.

Answer: A, B, C, D Rationale: Accessibility requires forms readable by screen readers, text alternatives for all non-text content, good color contrast, and text descriptions for images. Q27. What is the role of the Document Object Model (DOM)? A. Enables dynamic web pages that do not require server processing B. Controls the look and feel of a web page C. Defines documents' logical structure and how elements are accessed D. Provides a bottom-up approach to web development Answer: C Rationale: The DOM defines documents' logical structure and how elements are accessed and manipulated. It enables dynamic interaction with web page content. Q28. Which HTML tags provide elements for passing text from an end-user to a server from a web form? A. B. C. D. Answer: A Rationale: elements (with appropriate type attributes) provide form controls for passing user text and data to the server.

Q29. What happens when an end-user clicks on a submit button? A. It resets the input elements B. It creates a new form C. It redirects the browser to a new web page D. It parses information using name/value pairs to the destination in the Action attribute Answer: D Rationale: Clicking submit parses form information using name/value pairs and sends it to the destination specified in the Action attribute value. Q30. What defines the standard for formats of hypertext documents and their unique URLs? A. W3C B. ISO C. IEEE D. ANSI Answer: A Rationale: The World Wide Web Consortium (W3C) defines the standards for formats of hypertext documents (HTML, XHTML) and their unique URLs. This document contains 150 practice questions from the WGU E009 Web Design Fundamentals OA, with 30 core questions included here. The full 150-question set covers HTML structure, CSS styling, responsive design, accessibility, web forms, JavaScript, and web standards, based on official WGU course materials for the 2026/2027 academic year