wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML & CSS Quiz

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What does HTML stand for?

a)

HyperText Multi Language

b)

HyperText Markup Language

c)

HighText Markup Language

d)

Hyperlink Text Markup Language

2.

Which HTML element is used for paragraphs?

a)

<div>

b)

<p>

c)

<button>

d)

<h1>

3.

Which heading is the biggest?

a)

A. <h5>

b)

B. <h3>

c)

C. <h2>

d)

D. <h1>

4.

What is the purpose of CSS?

a)

To organize content into headings

b)

To add interactivity to buttons

c)

To style and design a webpage

d)

To create the structure of a webpage

5.

Which CSS property changes the text color?

a)

background-color

b)

border

c)

font-size

d)

color

6.

Where do we write the <title> tag?

a)

Inside <body>

b)

Inside <div>

c)

Inside <head>
d)

Inside <html>

7.

Which of the following is a correct HTML structure?

a)

<h1> hello <h1>

b)

<h1> hello </h1>

c)

<h1 hello </h1>

d)

<h1> hello /h1

8.

What does the button element create?

a)

A section for images

b)

A clickable interactive element

c)

A paragraph of text

d)

A header for the page

9.

What is the purpose of the <div>

tag in HTML?

a)

To define the main title

b)

To display images

c)

To group elements together for organization

d)

To create a clickable button

10.

Which CSS property changes the background color of an element?

a)

background-color

b)

border

c)

font-size

d)

color