HTML & CSS FoundationsLesson 7Free preview
Document Structure
This lesson is part of Intro to HTML & CSS · All levels
Summary
This lesson is about the HTML document framework: the head section that contains metadata and the body section that contains visible content. You're also introduced to semantic elements like header, nav, play, section, article, and footer that make structure meaningful. A neat structure makes it easy for browsers, search engines, and screen readers to understand the page.
Key points
- Head contains metadata (charset, viewport, title, CSS link), body contains visible content
- Semantic elements (header, nav, play, section, article, footer) explain the role of content
- The lang attribute in html specifies the language of the page's content
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.