Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML & CSS L1-L4

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What is HTML?

a)

A programming language

b)

A styling language

c)

A markup language for building web pages

d)

A database system

2.

What is CSS?

a)

A tool to edit photos

b)

A language used to style web pages

c)

A computer virus

d)

A type of hardware

3.

What are HTML tags used for?

a)

To style text

b)

To add logic and loops

c)

To structure and organize content on a webpage

d)

To create video games

4.

Which of the following is an HTML tag?

a)
  • <style>

b)
  • .gallery-item { }

c)

background-color

d)
  • color = #ffffffff

5.

What are CSS styles used for?

a)

To structure web content

b)

To store files

c)

To change how a webpage looks (colors, sizes, layouts)

d)

To write comments

6.

Which of the following is a CSS property?

a)

background-color

b)
  • <title>

c)
  • <script>

d)

#image

7.

Which tag is used to insert an image?

a)
  • <p>

b)
  • <img>

c)
  • <a>

d)

  • <ul>

8.

Which tag is used to insert a link?

a)
  • <b>

b)
  • <div>

c)

<img>

d)

<a>

9.

Which tag is used to insert a paragraph?

a)
  • <span>

b)
  • <p>

c)

  • <li>

d)
  • <body>

10.

Which tag is used to create a list?

a)
  • <meta>

b)

  • <nav>

c)

  • <ul> or <ol>

d)
  • <section>

11.

Which tag can be used to add a map?

a)

<map>

b)

<iframe>

c)

<div>

d)
  • <section>

12.

Which tag can be used to add a video?

a)

<video>

b)

<audio>

c)

<iframe>

d)
  • <object>

13.

Which tag can be used to add music?

a)

<audio>

b)

<video>

c)

<iframe>

d)
  • <embed>

14.

What are CSS classes for?
like, .nav or .gallery-item.

a)

To style many things the same way

b)

To make web pages

c)

To add pictures

d)
  • To add links

15.

Which element is used to make blocks on a page?

a)

<p>

b)
  • <section>

c)

<div>

d)

<body>