HTML Document Structure: html, head, body

In this lesson, we will learn HTML document structure in more detail. html, head, body, meta, title, lang, document hierarchy, nested elements, and clean page structure will be explained with simple examples. ## Lesson objective In this lesson, we will learn HTML document structure in more detail. In the previous lesson, we learned what HTML is, how a web page works, and the concepts of tag, element, attribute, , , , and . Now we focus on building the HTML document correctly. An HTML page is not only a sequence of tags. An HTML document should have a correct hierarchy: This structure is important for the browser, search engine, screen reader, and developer.