wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Hyper Text Markup Language

Total questions: 20

Worksheet time: 12mins

Name
Class
Date
1.

 

All HTML Tags are enclosed in ____________

a)

# and #

b)

? and !

c)

/ and \

d)

< and >

2.

What does the / stand for in HTML?

a)

STOP

b)

GO

c)

Paragraph

d)

Beginning

3.

What does the "p" stand for in <p>?

a)

phase

b)

part

c)

paragraph

d)

please, let this class end soon

4.

What does the "h" stand for in <h1>?

a)

Heading

b)

Header

c)

Help!

d)

Hold

5.

What does the 1 in <h1> stand for?

a)

what heading it is

b)

the size the heading is

c)

which heading you want to go first

d)

which heading is the most important

6.

What do the numbers mean in heading tags? (<h1>, <h2>, etc.)

a)

H1 is the largest font size

b)

H1 is the smallest font size

c)

H1 has to be listed first

d)

H1 is the most important heading

7.

Between what two HTMLS tags does your content go?

a)

<BODY> and </BODY>

b)

<h1> and </h1>

c)

<index> and </index>

d)

<html> and </html>

8.

What is the purpose of HTML?

a)

To build web pages

b)

To create programming languages

c)

To design graphics

d)

To develop mobile apps

9.

What happens if an HTML document is missing the closing tag?

a)

The document will be deleted

b)

The document will be encrypted

c)

The document will not load

d)

The document may not display correctly

10.

Which of these are used when adding a picture to a webpage?

a)

src

b)

alt

c)

img

d)

pic

e)

file

11.

which answer CORRECTLY explains the difference between src and href

a)

they are the same

b)

we use src for image tags and href for a (link) tags

c)

we use src for a (link) tags and href for image tags

d)

we can use them both for images BUT can only use src for links

12.

Which of these tags ONLY has an opening and NOT a closing tag?

a)

<a>

b)

<p>

c)

<h1>

d)

<img>

13.

This tag tells the computer this is a document written in HTML.

a)

<p>

b)

<!DOCTYPE html>

c)

<h1>

d)

<html>

14.

This file name is used for the main page of your website.

a)

main.html

b)

index.html

c)

start.html

d)

mysite.html

15.

This tag can be used to break line of text (move to a new line) inside a paragraph.

a)

<br>

b)

<break>

c)

<bl>

d)

<nl>

16.

A structural element that can contain another document or load content from another website

a)

<blockquote>

b)

<li>

c)

<iframe>

17.
HTML tags are always surrounded by
a)
( )
b)
{ }
c)
< >   
d)
"  "
18.

</html>

a)

ends a paragraph

b)

contains all the main content of a web page

c)

indicates the end of the html code

d)

begins a heading

19.

CSS stands for

a)

Code Style Sheet

b)

Coding Style Sheet

c)

Cascading Sheet Style

d)

Cascading Style Sheet

20.
You should save HTML files with which file extension?
a)
.htm
b)
.index
c)
.webpage
d)
.html