wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML Quiz

Total questions: 26

Worksheet time: 12mins

Name
Class
Date
1.
What does HTML stand for?
a)
Hypertext Making Language
b)
Hyper Transfer Markup Language
c)
Hypertext Markup Language
d)
Hyper Transfer Making Language
2.
HTML Language uses
a)
Tabs
b)
Tags
c)
Punctuation
d)
Quotations
3.
A <tag>
a)
Is used to divide sections
b)
Is not needed in HTML
c)
Tells the browser how to format our content
d)
Is part of the title line in HTML
4.
<h> is
a)
Header Tag
b)
Headline Tag
c)
Half of a tag
d)
Closing header tag
5.
</h> is
a)
Header Tag
b)
Headline Tag
c)
Half of a tag
d)
Closing header tag
6.
New heading tags can be added by using;
a)
Letters (ie: ha; hb)
b)
Numbers (i.e: h1; h2)
c)
Quotations (ie: h'; h")
d)
You can't do this
7.
<p> is
a)
punctuation tag
b)
closing paragraph tag
c)
closing punctuation tag
d)
paragraph tag
8.
</p> is
a)
punctuation tag
b)
closing paragraph tag
c)
closing punctuation tag
d)
paragraph tag
9.
Body tags are used;
a)
Used for only the header
b)
Used only for the paragraph
c)
element that wraps everything that is visible on the page.
d)
Not used in HTML
10.
<body>
a)
Body tag
b)
Paragraph tag
c)
Closing body tag
d)
Header tag
11.
</body>
a)
Body tag
b)
Paragraph tag
c)
Closing body tag
d)
Header tag
12.
<html>
a)
Gives you structure and text
b)
Not needed when creating HTML sites
c)
Goes after the <h1>
d)
Goes after the <body>
13.
</html>
a)
Found after </h1>
b)
Found after </style>
c)
Found after </body>
d)
Found at bottom of written code
14.
<img> tag finds;
a)
finds the image located at the a URL and the src attribute and then displays it.
b)
finds the image located at the SRC in the URL attribute and then displays it.
c)
Adds a cool picture
d)
Does not work in HTML coding
15.

HTML stands for...

a)

Hyper Time Multiple Language

b)

Hyper Text Mark-up Language

c)

Hippo T-Rex Mascot Lemur

d)

Hipper Text Make Language

16.

Which is the proper way to write an h1 tag

a)

<h1>Hello</h1>

b)

<h1>"Hello

c)

{h1}Hello{/h1}

d)

<h1>Hello<h1>

17.

Which of the following codes would create a horizontal line

a)

<br>

b)

<h1></h1>

c)

<hr>

d)

<p>

18.

Which code below is correct for a hyperlink

a)

<a>

"https://google.com"

Click Me

</a>

b)

<a>Click Me>

"https://google.com"

</a>

c)

<a herf="https://google.com">

Click Me

</a>

d)

<a href="https://google.com">

Click Me

</a>

19.

src attribute in an image tag means what?

a)

Source of the image

b)

Name of the image

c)

Description of the image

d)

Not used with image tag

20.

Copyright is a form of protection for intellectual property?

a)

True

b)

False

21.

Which list tag would you use for an ordered list

a)

<h1></h1>

b)

<ol></ol>

c)

<ul></ul>

d)

<a></a>

22.

Which of the following contains a nested list

a)

<ul>

<li>Apples</li>

<li>Cookies</li>

<li>Milk</li>

</ul>

b)

<ul>

<li>Apples</li>

<li>

Cookies

<ul>

<li>Chocolate Chip</li>

<li>Peanut Butter</li>

</ul>

</li>

<li>Milk</li>

</ul>

23.

<th></th> is the code for .....

a)

a table row

b)

a table column

c)

a table header

d)

Thanos

24.

Which of the following is the code for a paragraph to be blue?

a)

<td style=“background-color:blue;”>

b)

<h1 style=“font-size:60px;”>

c)

<p style=“color:blue;”>

d)

<tagname style=“property:value;”>

25.

What is the font size in this code: <p style=“color:blue; background-color:yellow;

font-size:60px”>Hello</p>

a)

20pixles

b)

40pixels

c)

50pixels

d)

60pixels

26.

When working with color codes RGB stands for...

a)

Green Red Purple

b)

Red Great Blue

c)

Red Green Blue

d)

Blue Green Raspberry