Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Nested Lists | Basic Elements
Introduction to HTML
course content

Course Content

Introduction to HTML

Nested Lists

In HTML, it is possible to create nested lists contained within other lists. This can be useful for creating hierarchical structures, such as outlines or menus.

html

index

css

index

js

index

Descriptive lists can also be nested in HTML. To create a nested descriptive list, you can use the <dl> tag inside another <dl> tag to create a new nested list.

html

index

css

index

js

index

When a web browser renders the HTML, the nested descriptive list will be indented and displayed as a sub-list within the top-level descriptive list.

Everything was clear?

Section 2. Chapter 7
We're sorry to hear that something went wrong. What happened?
some-alt