HTML & CSS TutorialLesson 4Free preview
First Web Page
This lesson is part of Intro to HTML & CSS · All levels
Summary
Here you're putting together the first web page: a file containing a doctype, HTML elements with head and body sections, and simple text elements. The results can be viewed instantly in the browser without any compilation process. This little exercise cultivates a habit of writing valid structures from the start.
Key points
- A web page is a regular text file with an extension .html
- Minimum structure: doctype, html, head, and body
- The head elements for metadata, the body for visible content
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.