# Nesting Elements

Nesting elements is a basic feature of the X framework, and it's also supported in Html.

Here's a red div with some other divs in it:
Green div.
Blue div.
Yellow div.

This div contains some paragraphs.

This div contains some paragraphs.

This div contains some paragraphs.

This div contains some paragraphs.

And it contains another red div:
Here's the inner red div. That should be enough to demonstrate.

Lists can also be nested:

- Apples
  - Granny
  - Fuji
  - Gala
- Granny
- Bananas
- Oranges

But not everything can be nested in Html. Divs and lists can.

Paragraphs and list items cannot:

This is a paragraph.

This is a nested paragraph.

Another nested paragraph.

- Naked list item.
- Nested naked list item.
- Nested naked list item.