wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML Basics

Total questions: 25

Worksheet time: 8mins

Name
Class
Date
1.

Full Form of HTML :

a)

Hyper Text Makeup Language

b)

Hyper Text Markup Language

c)

Hyper Text Machine Language

d)

High Text Machine Language

2.

The correct sequence of HTML tags for starting a webpage is :

a)

HTML, Head, Title, Body

b)

Head, Title, Body, HTML

c)

HTML,Head, Body, Title

d)

Body, Title, Head, HTML

3.

How many sizes of headers are available in HTML by default ?

a)

5

b)

1

c)

3

d)

6

4.

What is meant by an empty tag in HTML ?

a)

An empty tag cannot have any content within it

b)

There is no such concept of an empty tag in HTML

c)

An empty tag does not require a closing tag

d)

None of the above

5.

Which HTML element is used to define description data ?

a)

<li>

b)

<ol>

c)

<dd>

d)

<dl>

6.

What is the correct syntax to write an HTML comment ?

a)

<!-- Comment -->

b)

// Comment

c)

#Comment

d)

/* Comment */

7.

Which HTML tag is called the root element of an HTML document ?

a)

<html>

b)

<body>

c)

<title>

d)

<head>

8.

What are the main components of the front end of any working website ?

a)

HTML, CSS, Javascript

b)

HTML Only

c)

Javascript only

d)

HTML and CSS

9.

What is the smallest header in HTML by default ?

a)

h3

b)

h7

c)

h5

d)

h6

10.

Which of the fallowing tags does not require a closing tag ?

a)

<br>

b)

<hr>

c)

Both <br> and <hr>

d)

None of the above

11.

What is the correct syntax of doctype in HTML5 ?

a)

</doctype html>

b)

<doctype html>

c)

<doctype html!>

d)

<!doctype html>

12.

Which HTML element is used for styling HTML5 Layout ?

a)

JQuery

b)

CSS

c)

JavaScript

d)

PHP

13.

Which HTML tag is used to insert an image ?

a)

<img url="htmllogo.jpg"/>

b)

<img alt="htmllogo.jpg"/>

c)

<img src="htmlogo.jpg"/>

d)

<img src=htmllogo/>

14.

Which of the fallowing extension is used to save an HTML file ?

a)

.hl

b)

.h

c)

.hml

d)

.html

15.

In HTML, the tags are __________

a)

In upper-case

b)

not case sensitive

c)

in lowercase

d)

case-sensitive

16.

Which HTML tag is used for displaying the power in the expression (x^2-y^2) ?

a)

<p>

b)

<sub>

c)

<sup>

d)

None of these

17.

Default size of <h1> tag is

a)

32 px

b)

24 px

c)

34 px

d)

28 px

18.

Which of the fallowing is not a semantic element ?

a)

<form>

b)

<article>

c)

<table>

d)

<span>

19.

Which element works as a sidebar?

a)

header

b)

footer

c)

nav

d)

aside

20.

Which of the fallowing specifies the main content of the document?

a)

<time>

b)

<main>

c)

<details>

d)

<section>

21.

Which of the fallowing specifies relationship between current document and external resource ?

a)

<meta>

b)

<style>

c)

<link>

d)

<title>

22.

Which element defines additional details ?

a)

<details>

b)

<summary>

c)

<main>

d)

<aside>

23.

Which is used to create Web Pages ?

a)

C++

b)

Java

c)

HTML

d)

Both Java and HTML

24.

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

a)

<br>

b)

<break>

c)

<b>

d)

<lb>

25.

Which character is used to indicate an end tag ?

a)

>

b)

*

c)

<

d)

/