Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

WT Quiz 2

Total questions: 39

Worksheet time: 3mins

Name
Class
Date
1.

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

2.

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>

3.

<p> tag is for...

a)

Page of Text

b)

Picture

c)

Paragraph of text

d)

Pineapples

4.

Which of the following codes would create a horizontal line

a)

<br>

b)

<h1></h1>

c)

<hr>

d)

<p>

5.

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>

6.

You need a closing tag for an image without text

a)

True

b)

False

7.

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

8.

Which list tag would you use for an ordered list

a)

<h1></h1>

b)

<ol></ol>

c)

<ul></ul>

d)

<a></a>

9.

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>

10.

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

a)

a table row

b)

a table column

c)

a table header

d)

Thanos

11.

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;”>

12.

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

13.

When working with color codes RGB stands for...

a)

Green Red Purple

b)

Red Great Blue

c)

Red Green Blue

d)

Blue Green Raspberry

14.
HTML Language uses
a)
Tabs
b)
Tags
c)
Punctuation
d)
Quotations
15.
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
16.
<h> is
a)
Header Tag
b)
Headline Tag
c)
Half of a tag
d)
Closing header tag
17.
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
18.
An attribute is a; 
a)
Applies changes to everything
b)
Different options for each tab
c)
Allows for no changes to the site
d)
Gives structure and text
19.
Style tags are used to;
a)
Apply style to one line
b)
Not used in HTML
c)
Used at the top of the page to apply a style to the entire document
d)
Used sparingly
20.
</style>
a)
Found at the bottom of styling options
b)
Allows a heading to be written
c)
Allows the body to be written
d)
Allows attributes to be included
21.
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
22.
<html>
a)
Gives you structure and text
b)
Not needed when creating HTML sites
c)
Goes after the <h1>
d)
Goes after the <body>
23.
HTML Language uses
a)
Tabs
b)
Tags
c)
Punctuation
d)
Quotations
24.
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
25.

Which of the following is an opening HTML tag?

a)

</html>

b)

<<html>>

c)

<html>

d)

<html/>

26.

Which tag is used to add an image?

a)

<image>

b)

<img>

c)

<<img>>

d)

</image>

27.

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

a)

<src>

b)

classes:ids

c)

id="title"

d)

<id>

28.

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

a)

.

b)

+

c)

id

d)

#

29.

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

a)

#

b)

()

c)

.

d)

class

30.

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

31.

TRUE OR FALSE: HTML is used to style web pages.

a)

True

b)

False

32.

TRUE OR FALSE: CSS is used to style web pages

a)

True

b)

False

33.

What is missing from this HTML skeleton?


<!DOCTYPE html>

<html>

<body>

</body>

</html>

a)

<head></head>

b)

<div></div>

c)

<img></img>

d)

<head>

34.

What tag do you use to make a numbered list?

a)

<list>

b)

<ol>

c)

<li>

d)

<ul>

35.

How do you change the font color with CSS?

a)

font-color: green;

b)

color: green;

c)

change-font-color: green;

d)

fontcolor=green;

36.

TRUE OR FALSE: All tags require a closing tag.

a)

True

b)

False

37.

Where should you put the link tag to connect your CSS and HTML file?

a)

Between the <head> </head> in HTML

b)

Between the <body> </body> in HTML

c)

None of the above.

38.

TRUE OR FALSE: HTML is used to add content to web pages.

a)

True

b)

False

39.

Which of the following is the correct CSS link tag?

a)

<link rel="styles" href="stylesheet.css">

b)

<link href="stylesheet">

c)

<link rel="stylesheet" src="styles.css">

d)

<link rel="stylesheet" href="styles.css">