wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML

Total questions: 19

Worksheet time: 10mins

Name
Class
Date
1.

Who created HTML?

a)

Tim Berners-Lee

b)

Kim Berners-Lee

c)

Tin-Berners-Lee

d)

Tim Berners-Lei

2.

When was HTML officially released?

a)

1995

b)

1985

c)

1895

d)

1975

3.

What does HTML stand for?

a)

Hyper Text Markup Language

b)

High Text Markup Language

c)

Hyperlink and Text Markup Language

d)

Hyper Textual Markup Language

4.

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

a)

To define the main content of the page

b)

To contain meta-information about the document

c)

To display the footer of the page

d)

To create a navigation menu

5.

  1. In what year was HTML created by Sir Tim Berners-Lee?

a)

1981

b)

1991

c)

1919

d)

1981

6.

What is the purpose of the HTML Doctype Declaration?

a)

To add styles to the HTML document

b)

To tell the web browser what version of HTML is being used

c)

To link external JavaScript files

d)

To create a navigation menu

7.

What is the latest version of HTML?

a)

HTML5

b)

HTML4

c)

HTML3

d)

HTML6

8.

Which tag is used to create a hyperlink in HTML?

a)

<link>

b)

<a>

c)

<href>

d)

<url>

9.

What does the <title> tag define in an HTML document?

a)

The main heading of the page

b)

The title of the webpage displayed in the browser tab

c)

The footer information of the page

d)

The main content of the page

10.

HTML (a)   are like special codes that tell your browser how to show and format a web page.

11.

Which HTML element is used to define an unordered list?

a)

<ol>

b)

<ul>

c)

<list>

d)

<li>

12.

What attribute is used to specify the destination of a hyperlink?

a)

src

b)

href

c)

link

d)

target

13.

Which of the following is a semantic HTML5 element?

a)

<div>

b)

<header>

c)

<span>

d)

<section>

14.

Absolute units are fixed sizes that do not change based on user settings or screen size, making them less flexible for responsive design.

a)

true

b)

false

15.

What is the function of the <meta> tag in an HTML document?

a)

To define the character set of the document

b)

To create a footer for the page

c)

To add styles to the document

d)

To link external CSS files

16.

What does the <img> tag require to display an image?

a)

src attribute

b)

href attribute

c)

alt attribute

d)

link attribute

17.

The <q> tag in HTML is used for long quotations within a block of text.

a)

true

b)

false

18.

What is wrong with the <h1> tag?

a)
  • It should be <h2>

b)

It is missing a closing tag

c)

It should be inside the <head> tag

d)
  • It should have an id attribute


19.

What is one of the main benefits of using CSS for styling HTML?

a)

It makes the website load faster

b)

It allows for consistent styling across multiple pages

c)

It replaces the need for HTML

d)

It adds functionality to the website