Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Html quiz

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.
What does HTML stand for?
a)
Happy Turtles Moo Loud
b)
Hyper Text Markup Language
c)
Half Terabyte Megabyte LAN
d)
Hyper Tool Mega Language
2.
Which of the following is an HTML tag?
a)
<p>
b)
{p}
c)
var p;
d)
p:
3.
Which of the following is an opening tag?
a)
</html>
b)
</body>
c)
</p>
d)
<h1>
4.
Which of the following is a closing tag?
a)
<p>
b)
<li>
c)
</h1>
d)
<html>
5.
What does the <p> tag do?
a)
Make a paragraph
b)
Bold letters
c)
Underline letters
d)
Paste text
6.
Which of the following is the smallest heading tag?
a)
<h1>
b)
<h3>
c)
<h5>
d)
<h6>
7.
Which of the following is the largest heading tag?
a)
<h1>
b)
<h3>
c)
<h5>
d)
<h6>
8.
Which of the following tags is used to insert an image?
a)
<p>
b)
<a>
c)
<img>
d)
<h1>
9.

The src attribute in the <img> tag references which of the following:

a)

a paragraph

b)

an image file

c)

a sound

d)

a head

10.
What is the correct HTML element for inserting a line break?
a)
<lb>
b)
<br>
c)
<break>
d)
<bk>
11.
Which character is used to indicate an end tag?
a)
~
b)
/
c)
*
d)
<
12.
What is the purpose of HTML
a)
To make a formatted document
b)
To make a webpage
c)
To edit photos
d)
To make a creative slide
13.

How many heading tags are there in HTML5?

a)

2

b)

5

c)

7

d)

6

14.

Google Chrome, Mozilla Firefox, Microsoft Edge are examples of?

a)

Websites

b)

Search engines

c)

Text editors

d)

Web browsers

15.

Which one is not a html tag?

a)

<h7>

b)

<h2>

c)

<h1>

d)

<h6>

16.

What does <img> mean?

a)

Imagine

b)

Image

c)

Imagery

d)

Imagination

17.

Is the <html> tag required?

a)

Yes

b)

No

18.

HTML is ....

a)

a basic programming language for building a web page.

b)

a programming language for creating games.

c)

how data is stored in a computer.

d)

how text messages are loaded.

19.

Which of the following is the correct way to add an attribute?

a)

<src>

b)

classes:ids

c)

id="title"

d)

<id>

20.

What symbol should you use to target an id in css?

a)

.

b)

+

c)

id

d)

#

21.

What symbol should you use to target a class name in css?

a)

#

b)

()

c)

.

d)

class

22.

What is the correct syntax to change the background color with css?

a)

background-color: purple;

b)

background-color = "purple";

c)

backgroundcolor=orange

d)

change-background-color: purple

23.
What does CSS stand for? 
a)
Creative Style Sheets
b)
Cascading Style Sheets
c)
Colorful Style Spread
d)
Computer Style Spread
24.
Which is correct CSS syntax? 
a)
{ body; color=black;}
b)
body: color= black
c)
body {color:black;}
d)
(body color is black) 
25.
What is the difference between HTML and CSS?
a)
CSS is one type of HTML
b)
HTML gives a webpage structure. CSS provides styling.
c)
CSS structures a webpage. HTML strictly provides styling.
d)
There is no difference.