Exercise 3: Build a Personal Webpage
Modify your first HTML file to include your name, a short introduction and a goal you want to achieve.
Exercise 4: Explain the Request Process
Describe what happens when someone enters a website URL in a browser, from the request through the server response to rendering.
Exercise 5: Static or Dynamic?
Consider a simple company information page and a dashboard that displays each logged-in user's orders. Explain which could be served as static HTML and why the dashboard commonly needs application logic and data access.
14. Lesson Summary
- HTML stands for HyperText Markup Language and defines webpage structure and meaning.
- Modern HTML includes semantic markup, media elements, forms and other capabilities.
- CSS controls presentation, while JavaScript adds behavior and executable logic.
- Browsers request resources, parse HTML, construct the DOM and render webpages.
- Servers return resources or application-generated responses.
- Static and dynamically generated pages can both produce HTML for a browser.
- You have created your first HTML file and are ready to study document structure.
15. Section 1 Quiz: Test Your Understanding
Answer all 10 questions before proceeding. Try to answer from memory first. Review the explanations for any question you miss.
Question 1: What does HTML stand for?
- HyperText Markup Language
- High Transfer Machine Language
- Hyperlink Text Management Logic
- Home Tool Markup Language
Correct answer: A — HyperText Markup Language.
- A is correct because it is the full form of HTML.
- B is incorrect because HTML is not a high-transfer machine language.
- C is incorrect because this is not the official expansion of HTML.
- D is incorrect because this is not the official expansion of HTML.
Question 2: Which technology primarily defines the structure and meaning of webpage content?
- CSS
- HTML
- JavaScript
- SQL
Correct answer: B — HTML.
- A is incorrect because CSS primarily controls presentation.
- B is correct because HTML describes document structure and semantics.
- C is incorrect because JavaScript primarily provides behavior and logic.
- D is incorrect because SQL is used to query and manage database data.
Question 3: Which technology would you primarily use to change text color and spacing?
- HTML
- SQL
- CSS
- HTTP
Correct answer: C — CSS.
- A supplies the document structure but is not the main styling technology.
- B manages database queries and data.
- C is correct because CSS controls colors, spacing and visual layout.
- D is a communication protocol, not a styling language.
Question 4: Which two tasks does a browser commonly perform when processing a webpage? Select all that apply.
- Parsing HTML into a document structure
- Processing CSS for visual presentation
- Automatically authoring the website's original HTML
- Replacing the server's application database