HTML and CSS · lesson 11 of 30 · free

What CSS does — HTML and CSS for kids

CSS stands for Cascading Style Sheets. HTML builds the page, CSS decides how it looks — colours, fonts, sizes, spacing and layout — and JavaScript makes it do things. CSS can be written in a style attribute on one tag, in a style tag in the head, or best of all in a separate .css file linked from every page, so one file styles the whole website.

▶ Watch how it works

Got it? Practise ↓

Code tip

Build, style, act — “HTML builds the page, CSS styles it, JavaScript makes it do things”

  1. HTML = structure (headings, lists, links); CSS = style (colours, fonts, spacing, layout); JavaScript = actions.
  2. CSS can go in a style="…" attribute, a <style> tag in the head, or a .css file.
  3. Link a file with <link rel="stylesheet" href="style.css"> in the head.

Use it for: Starting to style your pages and choosing the right language for each job.

Worked example: 🧩 Which language puts a picture on a page? → HTML

  1. Putting things on the page is building its structure.
  2. Structure is the job of HTML (the img tag).

Check: Making the picture round would be CSS; putting it there is HTML ✓

▶ Watch it animated

✓ Written and checked by the TalentJR team · Updated 13 Oct 2026 · How we make our lessons

✏️ Practice

Work it out in your head or on paper, then tap your answer — or type it and press Check. Stuck? Press “Show me how”.

Right: 0 · Tried: 0

🏁 Lesson 11 test

20 questions. Check each answer, then go to the next one. Get 16 or more right to pass.

🏅 Sign in with Google to earn the 🎨 Style Sheet Starter badge when you pass — and a certificate when you finish all 10 lessons of Part 2 · CSS. You can still take the test without signing in.

🖨️ CSS Worksheet: What Is CSS

✨ Free AI tutor

Ask the AI tutor about this lesson

Why does it work? When should you use it? Ask in English, मराठी or हिंदी.

Sign in with Google to ask Free — 20 questions a day.

👩‍🏫 HTML and CSS classes — live online, request a call back

Prefer a real teacher? TalentJR teachers take live online classes anywhere in India. Tell us what you need and our team will call you with timings and fees.

Live online classesSmall groups or 1:1 with a teacher, from home, any city.
We call you backOur team asks what your child needs, then shares timings and fees.
Home tutor?We are still building our list of home tutors — ask on the call if there is one near you.
Badges, certificates & gifts A badge for every lesson you pass, a certificate for every part you finish, plus TalentJR Points for daily practice. Computer worksheets Flowcharts, block coding, spreadsheets and safe internet.