wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What does HTML stand for

a)

Hypertext Markup Language

b)

High Text Markup Language

c)

Hyperlink Text Markup Language

d)

Hyper Tool Markup Language

2.

What is the primary purpose of HTML

a)

To style web pages

b)

To create and design web pages

c)

To program web applications

d)

To manage web servers

3.

What are HTML documents composed of

a)

Scripts and databases

b)

Elements represented by tags

c)

Images and multimedia

d)

Stylesheets and fonts

4.

Which of the following is an example of an HTML tag

a)

<style>

b)

<html>

c)

<body>

d)

All of the above

5.

What does the <div> tag represent

a)

A division or section of the document

b)

A hyperlink

c)

An image

d)

A form input

6.

What is an attribute in HTML

a)

A way to define the color of the text

b)

A piece of additional information about an element

c)

A type of HTML tag

d)

A method for including images

7.

What is the role of the <head> element in an HTML document

a)

It contains metadata about the document

b)

It contains the main content visible in the browser

c)

It defines the structure of the document

d)

It includes interactive elements like forms

8.

Which HTML tag is used to create a paragraph

a)

<div>

b)

<p>

c)

<a>

d)

<img>

9.

What is the purpose of semantic elements in HTML5?**

a)

To improve the visual appearance of the web page

b)

To create interactive web applications

c)

To provide a more meaningful structure and improve accessibility and SEO

d)

To manage server-side scripts

10.

Which attribute is used for providing a description of an image for accessibility

a)

src

b)

alt

c)

href

d)

title

11.

Which HTML element contains all the content visible on a web page

a)

<html>

b)

<head>

c)

<body>

d)

<title>

12.

What is the correct HTML tag for creating a hyperlink?

a)

<link>

b)

<a>

c)

<href>

d)

<src>

13.

Which tag is used to specify the title of an HTML document

a)

<meta>

b)

<head>

c)

<title>

d)

<header>

14.

What is the correct format for a self-closing tag in HTML

a)

<img>

b)

<img />

15.

HTML attributes are used to provide additional information about HTML elements and modify their behavior.

a)

True

b)

False