EN
🇺🇸 US

Fill the gap · Daniel Mitchell – ModernScholar Team · ✔ checked content

🇺🇸 Computer science · Grade 9 › Web design

Grade 9 Computer Science: HTML and CSS Code Fill In the Gap

Choose the missing HTML tag, CSS property or value to complete each line of web code.

Report a problem with this activity

Share

Questions in this game (10 items)

  1. About us creates a link.
  2. describes the image.
  3. p { ___: 18px; } makes paragraph text bigger.
  4. .menu { display: ___; } lays the menu items out in a row.
  5. @___ (max-width: 600px) starts a rule for small screens.
  6. A color with full green and no red or blue is #___.
  7. The ___ element should contain the main content of the page.
  8. h1 { text-___: center; } centers the heading.
  9. connects a CSS file.
  10. To select the element with id="top" in CSS, write ___ { }.
Show answers
  1. About us creates a link. → a
  2. describes the image. → alt
  3. p { ___: 18px; } makes paragraph text bigger. → font-size
  4. .menu { display: ___; } lays the menu items out in a row. → flex
  5. @___ (max-width: 600px) starts a rule for small screens. → media
  6. A color with full green and no red or blue is #___. → 00FF00
  7. The ___ element should contain the main content of the page. →
  8. h1 { text-___: center; } centers the heading. → align
  9. connects a CSS file. → stylesheet
  10. To select the element with id="top" in CSS, write ___ { }. → #top

👩‍🏫 For teachers

Level
11–14 years
Subject
Computer science
Questions
10
Time
about 2 min
Last updated

How to use it: A quick starter or exit ticket: project it and let the class answer together, or set it as homework to see who needs more help.

🇺🇸 More Computer Science games – Grades 6–8 →

✔ How we check our games →

Similar activities

It's free – just create an account

Create a free account