You are on page 1of 2

Chapter-7

INTRODUCTION TO HTML

A. TICK the correct options.


1. Which of the following is the largest heading tag?
Ans. <head>
2. Which of the following is not an attribute of the <body> tag?
Ans. Align
3. Which of the following is an empty tag?
Ans. <hr>
4. Which of the following inserts a line break?
Ans. <br>
5. Which of these defines characteristics of an HTML element?
Ans. Attribute

B. Fill in the Blanks.


1. The <i> tag is used to insert a horizontal rule.
2. The <p> tag is used to write text in a paragraph.
3. The <b> tag is used to make text bold.
4. The <hr> tag is used to tilt the text.
5. The bgcolor attribute of the <body> tag is used to set background color of a web page.

C. State True or False.


1. HTML is a case sensitive language (False)
2. HTML is platform dependent language. (True)
3. A value of a tag attribute always comes after an equal to ( = ) sign. (True)
4. You write the content of a web page within <head>…</head>. (True)
5. The <j1> is the biggest level of heading among all. (False)

D. Match the following columns.


Ans. Column A Column B
1. <hr> Horizontal rule
2. <p> Paragraph tag
3. <b> Bold tag
4. <i> Italic tag
5. <br> Line break.

E. Short answer questions.


1. What is HTML?
Ans. HTML is a markup language. It allows us to create interactive web pages.
2. Write the names of any two web browser.
Ans. Microsoft Edge, Google Chrome
3. Write any two attributes of the <body> tag.
Ans. Background, BGcolor, Text
4. List any four container tags.
Ans. <head>…</head>, <title>…(/title>), <b>…</b>, <center>…</center>.
5. What is the use of Align attribute of <p> tag?
Ans. To change the alignment of the text within the paragraph.
F. Long answer questions.
1. Distinguish between container tags and empty tags?
Ans. Container Tags (Paired Tags): These tags consist of an opening tag and a closing tag. For
example <html>…</html>
Empty Tags (Singular Tag) : The tags that have no companion tag means they include only
opening tag. For example <br>. Empty tags do not required a closing tag.
2. Write the basic structure of an HTML document.
Ans. Basic structure of an HTML document:

3. Distinguish between <p> tag and <br> tag..


Ans. Paragraph Tag : <p> : The <p> tag offers a way to structure our text into different paragraph.
Each paragraph text is placed in between an opening <p> tag and a closing </p> tag.
Line Break : <br> The <br> tag in an empty tag. It is used to insert a line break.
4. Describe the <b> and <i> tags..
Ans. Bold : <b> The <b> tag increases the thickness of text to show it darker than regular text.
Italic : <i> The <i> tag tilts the text. Anything that you put within <i>…</i> appears as italic in a
web page.

G. Give answer in one word.


1. HTML stands for.
Ans. Hyper text markup language.
2. Who invented HTML?
Ans. Tim Berners-Lee in 1990.
3. HTML files are saved in which format?
Ans. html extension.
4. What is the shortcut key for opening and HTML document?
Ans. Ctrl + o

You might also like