UNIT 1 • STAGE 3 OF 7 • SOUTH DAKOTA
Add detail to your nations by nesting HTML inside HTML
Your code editor starts with everything you built in Stage 2 — both <ul> lists for Lakota and Dakota/Nakota nations plus your Quick Facts <ol>. Take a moment to look at the preview and read what's there.
In this stage, we'll go deeper by learning how to put HTML inside other HTML — a technique called nesting.
Think of nesting like folders on your computer. A folder can contain other folders. HTML works the same way — elements can live inside other elements.
Nesting means placing one HTML element inside another. You've already done this — your <li> tags live inside <ul> tags. That's nesting!
We can go even deeper — put a <ul> inside a <li> to add sub-details under each nation. The indentation in your code shows the nesting visually — each level in is one level deeper.
Find your Lakota <ul> in the editor. We'll update it to include the county location as a nested list under each nation.
Notice how each county shows up as a sub-bullet, indented under the nation name. The browser automatically indents nested lists — you don't have to add any spacing yourself.
Now update the Dakota and Nakota list the same way.
You've just built a well-organized, hierarchical webpage. The nesting mirrors how information is actually connected:
Good HTML structure respects those real-world relationships. When your code mirrors how information is actually organized in the world, it's easier to read, easier to update, and easier for browsers and assistive technology to understand.
Well-structured HTML helps people who use screen readers — software that reads web pages aloud for people with visual impairments. When you nest properly, you're making the web more accessible for everyone.
Try adding another detail to one of your nested lists. Ideas:
<li> in the sub-list<li>Part of the Oceti Sakowin</li>You now know how to nest HTML elements to create rich, organized pages. In Stage 4, we'll use more heading levels (h3, h4) to build a complete page hierarchy!