Skip to content

Courses / HTML5 Mastery: Complete Beginner to Advanced Course / Introduction

643 people viewed this

Introduction

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.

  1. True
  2. 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?

  1. To receive requests and send responses
  2. To act as the user's browser interface
  3. To replace every HTML response with CSS
  4. 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.

  1. True
  2. 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?

  1. .css
  2. .sql
  3. .html
  4. .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.

  1. Semantic elements such as <main> and <nav>
  2. Native <audio> and <video> elements
  3. CSS Flexbox as an HTML element
  4. 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?

  1. A relational database schema
  2. The Document Object Model (DOM)
  3. A CSS stylesheet file
  4. A server-side PHP application

Rate this course

5.0 · 1 rating

Stars show on this course. Your written note stays private.

Your stars