HTML Quizz
HTML Quizz
HTML Quizz
(https://www.knowledgeboat.com/learn/class-
6-icse-understanding-computer-studies/
solutions/MVyPQ/html-introduction)
HTML: An Introduction
Class 6 - APC Understanding Computer
Studies
Question 1
1. Hypo
2. Hypothesis
3. Hyper
4. Hyphen
Answer
Hyper
Question 2
1. {..........}
2. <..........>
3. (..........)
4. all of the above
Answer
<..........>
Reason — Tags are marked by the angle braces (<...>). For example, <HTML>, <TITLE>,
<HEAD>, etc. are tags.
Question 3
Which of the following heading tags will display the largest heading size?
1. H1
2. H6
3. H4
4. H3
Answer
H1
Reason — Heading tag includes six different levels of headings which vary
from <H1> to <H6>. <H1> tag is used to define the largest heading whereas, <H6> defines the
smallest heading.
Question 4
1. Website
2. Webpage
3. Web browser
4. None
Answer
Webpage
Reason — A 'Web Page' is a document that is written in Hypertext Markup Language (HTML).
Question 5
Which of the following contents of HTML is enclosed within opening and closing tags?
1. Text
2. Element
3. Message
4. Document
Answer
Element
Reason — In HTML, the content written within an opening tag and closing tag is called the
element.
Question 1
HTML means Hyper Text Markup Language.
Question 2
A set of pages of information on the Internet about a particular subject is called a website.
Question 3
Question 4
Every HTML document begins with <HTML> and ends with </HTML> tags.
Question 5
The tags which require start and end tags are called container tags.
Question 6
Question 7
Question 8
The content written within the <Title> tag does not appear on the web page.
Question 9
Question 10
Question 1
(m - n)2
Answer
(m - n)<SUP>2</SUP>
Question 2
p2 + q2 - r2
Answer
Question 3
a2b3 - c4d5
Answer
a<SUP>2</SUP>b<SUP>3</SUP> - c<SUP>4</SUP>d<SUP>5</SUP>
Question 4
H2SO4
Answer
H<SUB>2</SUB>SO<SUB>4</SUB>
Question 5
KNO3
Answer
KNO<SUB>3</SUB>
Question 6
Na2CO3
Answer
Na<SUB>2</SUB>CO<SUB>3</SUB>
Question 1
Generally, the web browser displays an HTML document with background white and foreground
black. However, you can change the appearance of the document by changing the background as
well as the text colour. Now, answer the following to perform the given tasks on an HTML code.
1. value
2. change
3. attribute
4. element
(d) What does color name specify in the syntax given in part (c)?
1. attribute
2. blue
3. white
4. value
Answer
(b) Black
(c) Attribute
(d) Value
Question 1
Container tags
Answer
When the opening and closing tags are used in pairs in an HTML document, they are known as
container tags. They are also known as ON tag and OFF tag respectively. ON tag uses angle
bracket whereas, OFF tag uses forward slash (/) after the opening of the angle bracket (<). The
contents are written within these tags in the document.
<head>
content
</head>
Question 2
Empty tags
Answer
The tags which do not require a closing tag in an HTML document are called ‘Empty Tags'. This
means that an empty tag has only an ON tag in the document which is understood by the web
browser. For example, <br>,<hr>, etc.
Question 3
Heading tag
Answer
HTML allows you to highlight headings in a web page by using the heading tags. They are
container tags. They include six different levels of headings which vary from <H1> to <H6>.
<Hl> tag defines the largest heading whereas, <H6> tag defines the smallest heading.
The syntax of heading tag is as follows:
<Heading tag> string of text for heading </Heading tag>
Question 4
Body tag
Answer
Body tag contains the main HTML document that we want to display on the web page. The
attributes of the body tag (bgcolor, text etc) can be used to change the appearance of the main
document.
</BODY>
Question 5
Paragraph tag
Answer
The Paragraph Tag <P> is a container tag. The opening tag <P> is added at the beginning of a
paragraph and the closing tag </P> at the end of the paragraph. With the use of the paragraph
tag, a single line is inserted before and after the enclosed paragraph.
The syntax of the paragraph tag is as follows:
<P>
Paragraph 1
</P>
<P>
Paragraph 2
</P>
Question 6
Line breaks
Answer
The line break tag <BR> is an empty tag. It works in the same way as pressing the 'Enter' key in a
word processor. It helps the user to change the line.
An example of the line break tag is as follows:
<BODY>
</BODY>
Short Answer Questions
Question 1
What is HTML?
Answer
Hyper Text Markup Language is a markup language used to design and display web pages or
documents on the internet using web browsers. It includes text as well as graphics. It also
provides the means to link the pages on the internet. The pages contain text as well as graphics.
HTML uses special tags or symbols while writing a piece of information. For example, the text
in bold is written as:
Question 2
Answer
Every HTML document is written inside <HTML> and </HTML> tags which represent the
beginning and the end of a web page, respectively. An HTML document mainly consists of two
main parts. They are:
1. HEAD — It contains the title of a web document and written
within <HEAD> and </HEAD> tags. The tag include <TITLE> tag within it. The content
written within the <TITLE> and </TITLE> tags does not appear on the web page.
2. BODY — It is the main HTML document that we want to display on the web page. It is
written within <BODY> and </BODY> tags.
<HTML>
<HEAD>
<TITLE>...the title of the web page....</TITLE>
</HEAD>
<BODY>....
.........the body of the document.......
.....
</BODY>
</HTML>
Question 3
Answer
Tags are the keywords used in an HTML document. They are marked by the angle braces (< and
>) to write instructions and define how the content will be displayed by the web browsers. For
example, <HTML>, <TITLE>, <HEAD>, etc. are tags.
Question 4
Answer
1. Every HTML document is written inside <HTML> and </HTML> tags which represent the
beginning and the end of a web page respectively.
2. The main document is written within <BODY> and </BODY> tags.
Question 5
Name two web browsers which are used to view an HTML document.
Answer
Two web browsers which are used to view an HTML document are-
1. Microsoft Edge
2. Google Chrome
Question 6
Distinguish between <P> and <BR> tags.
Answer
The paragraph tag helps to identify and separate The line break tag works in the same way as
paragraphs in an HTML document. pressing the 'Enter' key in a word processor.
The paragraph tag inserts a single line before and The line break tag adds blank spaces between the
after the enclosed paragraph. lines.
Question 1
Answer
Step 1: Click ‘Start' followed by clicking 'Notepad' from the pop up menu.
OR
Click on shortcut icon ‘Notepad', if available on the desktop.
OR
Click on ‘Notepad' icon, if available on the taskbar. An untitled notepad will appear on the
screen.
Step 2: Now, one can start writing the HTML code by using the following tags:
<HTML>
<HEAD>
<TITLE> FIRST EXPERIENCE ON HTML </TITLE>
</HEAD>
<BODY>
LEARNING HTML DOCUMENT
...................
</BODY>
</HTML>
Question 2
Answer
Question 3
Answer
Step 3: Enter the file name with the extension '.HTML' (say, MYFILE.HTML) in the box
provided.
The file MYFILE.HTML will be saved and the untitled file will become MYFILE on Notepad.
Question 1
Write an HTML document by using paragraph and line tags to format the following poem 'Two
Little Dicky Birds'.
Answer
<html>
<head>
<title> TWO LITTLE DICKY BIRDS </title>
</head>
<body>
<p>
TWO LITTLE DICKY BIRDS <BR>
TWO LITTLE DICKY BIRDS <BR>
SITTING ON A WALL <BR>
ONE NAMED PETER, ONE NAMED PAUL <BR>
FLY AWAY PETER, FLY AWAY PAUL <BR>
COME BACK PETER, COME BACK PAUL <BR>
</p>
</body>
</html>
Question 2
The format of an HTML document is given below. Rearrange the format so that it can be
understood by the web browser.
<HEAD>
<HTML>
</TITLE>
MY FIRST STEP TO HTML
<TITLE>
</BODY>
SEARCH ENGINES ARE THE SOFTWARES ON THE WEB
WHICH HELP YOU TO LOOK FOR THE SPECIFIC
INFORMATION.
<BODY>
</HEAD>
</HTML>
Answer
<HTML>
<HEAD>
<TITLE>
MY FIRST STEP TO HTML
</TITLE>
</HEAD>
<BODY>
SEARCH ENGINES ARE THE SOFTWARES ON THE WEB
WHICH HELP YOU TO LOOK FOR THE SPECIFIC
INFORMATION.
</BODY>
</HTML>