The Box Model: Coding lesson for kids

In this lesson, children learn to describe what margin, border, padding, and content mean in the box model.

padding: Space INSIDE the border, between the border and the content.

margin: Space OUTSIDE the border, pushing other elements away.

border: The line drawn around the content — sits between padding and margin.

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.