wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML Basics

Total questions: 30

Worksheet time: 10mins

Name
Class
Date
1.

What does HTML stands for?

a)

Hyper Text Markup Langauage

b)

Hyper Text Makeup Language

c)

Hyper Text Markup Language

d)

Hyper Text Making Language

2.

What is the difference between an opening tag and a closing tag?

a)

both Closing and Opening tag has a / after the tag name

b)

closing tag has a / before the tag name while opening tag does not have it.

c)

Closing tag contains the attribute

d)

Closing tag begins with angle bracket

3.

<br /> What type of tag is this?

a)

Break tag

b)

Broken Tag

c)

opening tag

d)

closing tag

4.

What is a tag that does not have a closing tag called?

a)

tag

b)

Empty Tag

c)

Closing tag

d)

Empty tag

5.

What should values always be enclosed in?

a)

Quotation marks

b)

commas

c)

Parenthesis

d)

equal symbol

6.

Where do all items for the same website need to be save?

a)

where ever is fine

b)

in different folders

c)

in the thumbdrive

d)

in the same folder

7.

What is the tag that begins a list of items?

a)

<li>

b)

<ol>

c)

<ul>

d)

<dl>

8.

You wish your list to be in a particular order. Which tag should you use?

a)

<li>

b)

<ol>

c)

<ul>

d)

<dl>

9.

Which format is best for high quality web photos?

a)

TIF

b)

GIF

c)

JPEG

d)

QRL

10.

Choose the correct HTML tag for the largest heading.

a)

<th>

b)

<h1>

c)

<heading>

d)

<h6>

11.

Which is the correct HTML for adding a background color?

a)

<body bgcolor="123456>

b)

<body bgcolor="00000D">

c)

<body bgcolor="#000D">

d)

<body bgcolor="#123456">

12.

What is the correct HTML for creating a hyperlink?

a)

<a ref="http://www/google.com>Google.com</a>

b)

<a href="http://www/google.com>Google.com</a>

c)

<a href="http://www/google.com>Google.com<a>

d)

<a src="http://www/google.com>Google.com</a>

13.

How is document type initialize in HTML 5?

a)

</DOCTYPE HTML>

b)

</DOCTYPE>

c)

<!DOCTYPE HTML>

d)

</DOCTYPE html>

14.

Which of the following HTML tag is used for making any text bold?

a)

<h1>

b)

<th>

c)

<b>

d)

<font>

15.

How many heading tags are there in HTML 5?

a)

2

b)

3

c)

5

d)

6

16.

Which of the following attributes is used to add link to an anchor tag?

a)

link

b)

ref

c)

href

d)

src

17.

Which of the following attributes is used to open an hyperlink in new tab?

a)

tab

b)

href

c)

target

d)

ref

18.

Which among the following is correct HTML code for making a checkbox?

a)

<checkbox>

b)

<input type="checkbox">

c)

<check>

d)

<input type="check">

19.

Which tag is used for creating a drop-down selection list?

a)

<select>

b)

<opotion>

c)

<dropdown>

d)

<li>

20.

HTML is what type of language?

a)

scripting language

b)

markup language

c)

programming language

d)

network language

21.

HTML uses

a)

user defined tags

b)

pre-specified tags

c)

fixed tags defined by the language

d)

tags only for linking

22.

The year in which HTML was first proposed _____

a)

1990

b)

1980

c)

2000

d)

1995

23.

Fundamental HTML block is known as ___________.

a)

HTML body

b)

HTML tag

c)

HTML attribute

d)

HTML Element

24.

Who is known as the father of World Wide Web (WWW)?

a)

Tim Burners-Lee

b)

Time Berners-Ly

c)

Tim Burners-Ly

d)

Time Berners-Lee

25.

What should be the first tag in any HTML document?

a)

<head>

b)

<title>

c)

<html>

d)

<body>

26.

HTML web pages can be read and rendered by ________.

a)

compiler

b)

server

c)

web browser

d)

interpreter

27.

Which of the following is not a browser?

a)

Microsoft Bing

b)

Netscape Navigator

c)

Mozilla Firefox

d)

Opera

28.

HTML tags are surrounded by which type of brackets?

a)

curly

b)

round

c)

squart

d)

angle

29.

Text and images that are directly displayed on the page are written in _________ section.

a)

<head>

b)

<ttile>

c)

<body>

d)

<html>

30.

In HTML tables the gap between the two cells of same tables are known as

a)

cell spacing

b)

cell difference

c)

cell padding

d)

all of the choices are correct