wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

G10_Quiz1_2024_HTML

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What does a closing tag look like?

a)

< >

b)

<\ >

c)

</ >

d)

<< >>

2.

What does this tag stand for? <b>

a)

bright

b)

big

c)

beautiful

d)

bold

3.

What is the difference between <h1> and <h2>?

a)

<h1> is larger in size than <h2>

b)

<h2> is larger in size than <h1>

c)

both are the same size but different headings

d)

none of the above

4.

Which tag would you use to insert a image?

a)

<marquee>

b)

< a href>

c)

<br>

d)

<img src>

5.

Which tag would you use to create a hyperlink?

a)

<a href>

b)

<img src>

c)

<br>

d)

<link>

6.

What does HTML stand for?

a)

Hyper Tremendous Movie Lines

b)

Hyper Text Markup Language

c)

Hey Thanks for Making me Late

7.

What type of tag is this: <!-- -->

a)

comments

b)

questions

c)

paragraph

d)

image

8.

<p> is a _______ tag.

a)

image

b)

paragraph

c)

filename

9.

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>

10.

You need a closing tag for an image without text

a)

True

b)

False

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 correct syntax for defining a hyperlink in HTML?

a)

<a href=”url”> Link text </a>

b)

<a href=”url”> Link text <a>

c)

<a=”url”> Link text <a>

d)

<ref=”url”> Link text <a>

13.
What is the default appearance of hyperlinks in the browser?
a)
Italic and purple
b)
Blue and underlined
c)
Bold and Italic
d)
Purple and underlined
14.
1. What is the purpose of the HTML <head> element?
a)
b) To define the visible content of a web page
b)
b) To define the visible content of a web page
c)
c) To define the title, metadata, and links to external resources of a web page
d)
d) None of the above
15.
2. What is the purpose of the CSS color property?
a)
a) To define the main content of a web page
b)
b) To set the text color of an element
c)
c) To set the font size of an element
d)
d) None of the above
16.
6. What is the purpose of the CSS background-image property?
a)
a) To add a video to a web page
b)
b) To set the background color of an element
c)
c) To set an image as the background of an element
d)
d) None of the above
17.
19. What is the purpose of the HTML <input> element?
a)
a) To define a paragraph of text
b)
b) To define a form control for user input
c)
c) To define a hyperlink
d)
d) None of the above
18.
22. What is the purpose of the CSS display property?
a)
a) To set the color of the text
b)
b) To set the visibility of an element
c)
c) To set the width of an element
d)
d) None of the above
19.

What does a opening tag look like?

a)

< >

b)

</ >

c)

<< >>

d)

<

20.

<h1> is an example of a _______.

a)

Headline Tag

b)

Paragraph Tag

c)

filename