wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Unit 1:Web page ELement-Grade VII Test 2

Total questions: 10

Worksheet time: 3mins

Name
Class
Date
1.

What does HTML stand for?

a)

HyperText Markup Language

b)

HomeTool Markup Language

c)

Hyperlinks and Text Markup Language

d)

Hyper Transfer Markup Language

2.

Which of the following is the correct way to save an HTML file?

a)

file.html

b)

file.txt

c)

file.doc

d)

file.jpg

3.

What is the purpose of a "tag" in HTML?

a)

To add color to the text

b)

To create a link

c)

To define the structure of the content

d)

To run a program

4.

What tag is used to create a paragraph in HTML?

a)

<head>

b)

<h1>

c)

<body>

d)

<p>

5.

Which tag is used to define the main content of an HTML page, visible to the user?

a)

<head>

b)

<paragraph>

c)

<html>

d)

<body>

6.

Which of the following is called a root tag?

a)

/!DOCTYPE html>

b)

<html>

c)

<body>

d)

<head>

7.

Which HTML heading tag represents the smallest size?

a)

<h1>

b)

<h2>

c)

<h3>

d)

<h6>

8.

How do you add comments in HTML code that won’t be displayed on the webpage?

a)

// This is a comment

b)

/* This is a comment */

c)

<!-- This is a comment -->

d)

# This is a comment

9.

Which of the following is the correct structure of an HTML document?

a)

<html><head></head><body></body></html>

b)

<html><body></body><head></head></html>

c)

<head><body></body><html></html>

d)

<body><html></html><head></head>

10.

What is the primary purpose of the <title> tag in an HTML document?

a)

To set the main heading of the page

b)

To provide a title for the webpage that appears in the browser tab

c)

To display a title on the page

d)

To include a description of the page content