wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML

Total questions: 54

Worksheet time: 36mins

Name
Class
Date
1.

What does a opening tag look like?

a)

< >

b)

</ >

c)

<< >>

d)

<

2.

What does a closing tag look like?

a)

< >

b)

<\ >

c)

</ >

d)

<< >>

3.

What should a HTML web page start with?

a)

<b>

b)

<li>

c)

<html>

d)

<start>

4.

What does this tag stand for? <b>

a)

bright

b)

big

c)

beautiful

d)

bold

5.

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

6.

Which tag would you use to insert a image?

a)

<marquee>

b)

< a href>

c)

<br>

d)

<img src>

7.

Which tag would you use to create a hyperlink?

a)

<a href>

b)

<img src>

c)

<br>

d)

<link>

8.

Which tag does not need a closing tag?

a)

<a href>

b)

<head>

c)

<body>

d)

<img src>

9.

What does HTML stand for?

a)

Hyper Tremendous Movie Lines

b)

Hyper Text Markup Language

c)

Hey Thanks for Making me Late

10.

<p> is a _______ tag.

a)

image

b)

paragraph

c)

filename

11.

What does a opening tag look like?

a)

< >

b)

</ >

c)

<< >>

d)

<

12.
Which of the following is the largest heading? 
a)
H2
b)
H3
c)
H4
d)
H6
13.
What is the function of the <p> tag?
a)
Defines a paragraph.
b)
Makes the text purple.
c)
It pushes the text to the right.
d)
Prints the webpage.
14.

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>

15.

Which is the correct HTML element for inserting a line break?

a)

<b>

b)

<lb>

c)

<br/>

d)

<break>

16.

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>

17.
HTML Language uses
a)
Tabs
b)
Tags
c)
Punctuation
d)
Quotations
18.
What will happen to the text in blue?   <p>He named his car <i>The lightning</i>, because it was very fast.</p>
a)
the content will be displayed in italic
b)
the content will display an image
c)
the content defines text inserted into a document
19.
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
20.
<body>
a)
Body tag
b)
Paragraph tag
c)
Closing body tag
d)
Header tag
21.
<html>
a)
Gives you structure and text
b)
Not needed when creating HTML sites
c)
Goes after the <h1>
d)
Goes after the <body>
22.

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>

23.

You need a closing tag for an image without text

a)

True

b)

False

24.

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

25.

What should a HTML web page start with?

a)

<b>

b)

<li>

c)

<html>

d)

<start>

26.
HTML Language uses
a)
Tabs
b)
Tags
c)
Punctuation
d)
Quotations
27.
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
28.
</h> is
a)
Header Tag
b)
Headline Tag
c)
Half of a tag
d)
Closing header tag
29.
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
30.
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
31.
<body>
a)
Body tag
b)
Paragraph tag
c)
Closing body tag
d)
Header tag
32.
</body>
a)
Body tag
b)
Paragraph tag
c)
Closing body tag
d)
Header tag
33.
[Square brackets are used to define];
a)
An input attribute
b)
An export attribute
c)
A Function
d)
A Variable
34.
<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
35.

The ---------------- websites where you can search for information.

a)

Search engines

b)

Computers

c)

iPads

36.

Which of the following is not a search engine?

a)

Baidu

b)

Google

c)

Bing

d)

Yahoo

e)

Alexa

37.

What do search engines use to keep a record of the resources located on the World Wide Web?

a)

indexes

b)

links

c)

joins

d)

records

38.

(Please select 2)

The process of creating an index includes using a piece of software called a ...

a)

spider

b)

web crawler

c)

indexer

d)

search bot

39.

Web crawlers only visit the first page of a web site.

a)

True

b)

False

40.

What information does a web crawler NOT record about a web page?

a)

URL

b)

Content

c)

Last Updated

d)

Quality (Credibility)

e)

Usefullness

41.

What describes the content of a web page?

a)

Meta tags

b)

Meta labels

c)

Meta morphism

d)

Meta nalyses

42.

🎭 What is a benefit of separating CSS from HTML?

a)

A) It makes HTML files larger

b)

B) It requires more time to maintain

c)

C) It allows for easier maintenance and updates

d)

D) It is required for all HTML5 documents

43.

🔄 Fill in the blank: To style multiple HTML elements in the same way, CSS uses _______________.

a)

A) classes or ids

b)

B) tags or attributes

c)

C) inline styles

d)

D) JavaScript

44.

🌐 What is a CSS class used for?

a)

A) To link HTML documents

b)

B) To define a style that can be applied to multiple elements

c)

C) To create new HTML tags

d)

D) To add comments in CSS files

45.

🖼️ How do you add a background image in CSS?

a)

background-image: url('image.jpg');

b)

background: image('image.jpg');

c)

img: background('image.jpg');

d)

set-background: image('image.jpg');

46.

📢 True or False: CSS can control the layout of multiple web pages by external style sheets.

a)

True

b)

CSS

47.

🌐What is a search engine primarily used for?

a)

Designing websites

b)

Searching for information on the internet

c)

Creating animations

d)

Sending emails

48.

🔍 Fill in the blank: The part of the search engine where you type your query is called the _______________.

a)

search bar

b)

query box

c)

search field

d)

input box

49.

🔗 True or False: A hyperlink that you have clicked on before is called a visited hyperlink.

a)

True

b)

False

50.

🕸️ Fill in the blank: Search engines use _______________ to find content on the World Wide Web

a)

keywords

b)

crawlers or spiders

c)

algorithms

d)

metatags

51.

🧭 How do search engine crawlers find new web pages?

a)

By guessing web addresses

b)

By following hyperlinks from known pages

c)

By user submissions

d)

By random selection

52.

🗄️ True or False: When crawlers find web pages, they store them in a database known as an index.

a)

True

b)

False

53.

⏲️ What factor can influence the ranking of a web page in search results?

a)

The age of the page

b)

The color scheme of the page

c)

The number of images on the page

d)

The location of the server hosting the page

54.

🗺️ True or False: The main function of web crawlers is to navigate the web by following links and cataloging information found on web pages.

a)

True

b)

False