Correct answers: A and B.
- A is correct because the browser parses HTML and constructs a DOM.
- B is correct because the browser processes CSS to determine styling and layout.
- C is incorrect because the browser interprets supplied content rather than automatically authoring the original website.
- D is incorrect because a browser does not replace a server's database.
Question 5: True or False — HTML is a markup language rather than a general-purpose programming language.
- True
- False
Correct answer: A — True.
- True is correct because HTML describes document structure and meaning.
- False is incorrect because HTML does not provide general-purpose programming logic by itself.
Question 6: What is the primary role of a web server in a typical website request?
- To receive requests and send responses
- To act as the user's browser interface
- To replace every HTML response with CSS
- To guarantee every webpage is static
Correct answer: A — To receive requests and send responses.
- A is correct because a web server responds to requests with resources or application responses.
- B is incorrect because the browser provides the user-facing interface.
- C is incorrect because HTML and CSS serve different purposes and may both be returned as resources.
- D is incorrect because servers can deliver static files or dynamically generated responses.
Question 7: True or False — Every website must use Laravel or another server-side framework to display HTML.
- True
- False
Correct answer: B — False.
- True is incorrect because a server-side framework is not mandatory for every website.
- False is correct because a web server can deliver static HTML files without Laravel or another application framework.
Question 8: Which file extension is conventionally used for the first HTML page in this lesson?
.css.sql.html.php
Correct answer: C — .html.
- A is used for CSS stylesheets.
- B is commonly used for SQL scripts.
- C is correct because .html is the conventional extension for HTML documents.
- D is used for PHP scripts, which can generate HTML but are not the file type required for this exercise.
Question 9: Which three are examples of modern HTML capabilities or elements? Select all that apply.
- Semantic elements such as
<main>and<nav> - Native
<audio>and<video>elements - CSS Flexbox as an HTML element
- Form input types such as email and date
Correct answers: A, B and D.
- A is correct because these are semantic HTML elements.
- B is correct because HTML provides native elements for supported audio and video content.
- C is incorrect because Flexbox is a CSS layout system, not an HTML element.
- D is correct because HTML provides specialized form input types such as email and date.
Question 10: What document representation does a browser construct while parsing HTML?
- A relational database schema
- The Document Object Model (DOM)
- A CSS stylesheet file
- A server-side PHP application