Lesson 13 Homework 2.4: Understanding Structural Elements

Structural elements are one of the most important parts of a website. They define how the content is laid out, how it looks, and how it is organized. Understanding the various structural elements is essential for creating a website that is both visually appealing and easy to navigate. In this lesson, we will take a look at some of the most common structural elements and how they can be used to create a great user experience.

Divs, Spans, and Containers

Divs, Spans, and Containers

Divs, spans, and containers are the most basic structural elements. They are used to define areas of the page that can be used to contain and organize content. Divs are used to create a block-level element, while spans are used to create an inline element. Containers are used to group elements together, making them easier to style and manipulate. Divs and spans can also be used to create grids, which can be used to make the page responsive.

Headers and Footers

Headers and Footers

Headers and footers are two of the most important structural elements. They provide a consistent look and feel to the page and can be used to add navigation and other elements. Headers are typically used to display a website logo, contact information, and a navigation menu. Footers are usually used for copyright information, links to pages, and other important information. They are also used to create a consistent look and feel throughout the site.

Lists and Tables

Lists and Tables

Lists and tables are two of the most common structural elements used to organize data. Lists are used to create an ordered or unordered list of items, while tables are used to display data in a tabular format. They can be used to display data in an easy-to-read format or to create a visual representation of the data. Both lists and tables can be styled using CSS to create a more visually appealing look.

Forms and Buttons

Forms and Buttons

Forms and buttons are two of the most important structural elements used to collect data from users. Forms are used to gather information from users, such as contact information, shipping addresses, and payment information. Buttons are used to trigger actions, such as submitting a form or navigating to another page. Both forms and buttons can be styled with CSS to create a more visually appealing look.



Understanding structural elements is essential for creating a great user experience. Divs, spans, and containers are used to define areas of the page and group elements together. Headers and footers provide a consistent look and feel to the page. Lists and tables are used to organize data, while forms and buttons are used to collect data from users. By understanding these structural elements, you can create a website that is both visually appealing and easy to navigate.