Nesting Rules: Coding lesson for kids
In “Nesting Rules”, children learn about <p><b>bold</b></p> and <p><b>bold</p></b>.
<p><b>bold</b></p>: Correct: the inner tag closes BEFORE the outer one — like nested boxes.
<p><b>bold</p></b>: Wrong: tags closed out of order — this crosses over, instead of nesting.
This lesson is part of HTML/CSS in Coding at Pearls Valley Academy — Build and style your first web page.
Each lesson starts with a short narrated, animated explanation, then hands-on practice. A wrong answer gets a gentle hint, never a penalty, and children earn stars and pearls as they go.