wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Test Your Knowledge of HTML

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What is the correct doctype declaration for an html document

a)

<!DOCTYPE html>

b)

<DOCTYPE html!>

c)

<DOCTYPE html>

d)

HTML Make It So...

2.

Which is the correct example of a paragraph element?

a)

<p>This is a paragraph.<p>

b)

<p>This is a paragraph.</p>

c)

</p>This is a paragraph.</p>

d)

</p>This is a paragraph.<p>

3.

Which of these html heading sizes is the largest?

a)

h6

b)

h5

c)

h3

d)

h1

4.

The content (text, pictures, videos, links, etc...) that will be displayed on your web page must be written between which tags?

a)

<head> </head>

b)

<h1> </h1>

c)

<p> </p>

d)

<body> </body>

5.

Will this list be numbered or bulleted?

a)

numbered

b)

bulleted

6.

Will this list be numbered or bulleted?

a)

Numbered

b)

Bulleted

7.

<ol> </ol> and <ul> </ul> are called ____ elements

a)

Grandparent

b)

Parent

c)

Child

d)

Auntie

8.

<li> </li> are called ____ elements

a)

Grandparent

b)

Parent

c)

Child

d)

Auntie

9.

allow users to navigate to local pages (pages that are part of your website) or to external pages (pages that are not yours).

a)

hyperlink

b)

external style sheet

c)

div element

10.

<a href= “mydog.html“ > All About My Dog </a>

will display as....

a)

All About My Dog

b)

mydog.html

c)

None of the above

11.

<a href= “https://www.bcsdschools.net/“ > Berkeley County School District</a>

will display as...

a)

Berkeley County School District

b)

BCSD

c)

http://bcsdschools.net

d)

bcsd.html

12.

You can use this tag to put space between elements

a)

<break>

b)

<br>

c)

<enter>

d)

<space>

13.

which of the following is the correct example of a heading 1

a)

<h1> This is a heading 1 </h1>

b)

</h1> This is a heading 1 </h1>

c)

<h1> This is a heading 1 <h1>

d)

<heading 1> This is a heading 1 </heading 1>

14.

made up of an opening tag, content, and closing tag.

a)

existance

b)

ET

c)

element

d)

elegant

15.

<a href="http://www.bcsdschools.net"> Berkeley County School District />


This hyperlink has an error! Pick the corrected hyperlink from the list below:

a)

<a href= “https://www.bcsdschools.net/“ > Berkeley County School District</a>

b)

<a href= “https://www.bcsdschools.net/“ > Berkeley County School District <a>

c)

<a href= “https://www.bcsdschools.net/“ > Berkeley County School District>