William Whitworth 6,117 Points William Whitworth . Hardly any mention of the other element tags above. Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, PHP, Python, Bootstrap, Java and XML. Creating a website layout is the activity of positioning the various elements that make a web page in a well-structured manner and give appealing look to the website. Authors must not include the main element as a child of an article, aside, footer, header or nav element.
HTML5 was a major stepping stone for the concept of semantic code. An article should make sense on its own and it should be possible to distribute it independently from the rest of the site. Instead much emphasis on "div" as the container of choice is taught.
The element represents a generic section of a document or application. Chances are you are living in the past or working on a project that was built in the past that is still marking up content using DIV tags instead of semantic tags like article and section.
It also describes how to use the tag (from same W3 link above): is related to , but is distinctly different. How come TreeHouse HTML class did not touch on the subject of semantic tags like "article" "main", "section" and "aside" tags. An article should make sense on its own, and it should be possible to read it independently from the rest of the web site. Div can be used similarly but doesn't have the implicit meaning (see Jennifer Nordell's explanation). There are also a couple other tags that are similar (, ,