Nesting elements is a basic feature of the X framework, and it's also supported in Html.
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:Lists can also be nested:
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.