Computer Science
Class-VII
Chapter-6 HTML
A. Tick the correct answer:
1. HTML stands for ___________________.
a. Hyper text markup language
b. Hyper test markup language
c. Hyper text mail language
d. Higher text markup language
Answer: Hyper Text Markup Language
2. HTML is a markup language which is mainly used for creating _____ documents.
a. web b. mail c. file d. document
Answer: Web
3. The HTML elements are written inside the _______ brackets, less than(<) and greater than(>) symbols.
a. angle b. triangular c. rectangle d. square
Answer: Angle
4. There are ________ types of tags in HTML.
a. four b. three c. two d. one
Answer: Two
5. There are ________ types of heading in HTML.
a. five b. four c. six d. two
Answer: Six
B. Fill in the blanks:
1. HTML has its own formatting commands commonly known as ____ or _____.
Answer: Tags or element
2. HTML is the extended version of ___________________.
Answer: SGML
3. HTML has two kinds of tags ____________ and ________________.
Answer: Container, Empty
4. For closing the container tag, the ____________ mark is used.
Answer: Slash(/)
5. For center alignment _____________ tag is used.
Answer: <ALIGN>
6. For breaking a row ______________ tag is used.
Answer: <BR>
7. <OL> tag stands for ___________.
Answer: Ordered List
8. The _________________ is marked with <DD>.
Answer: Indented Definition
C. Write true or false:
1. HTML is a case-sensitive language.
Answer: F
2. It is not possible to write the HTML program in MS-Word and Wordpad.
Answer: T
3. HTML is a subset of XHTML.
Answer: F
4. <TITLE> tag is used within <BODY> tag.
Answer: F
5.To close list we require <LI> elemenet.
Answer: F
6. With head tag, line breaks automatically.
Answer: F
7. For designing a line, we use <HR> tag.
Answer: T
8. It is always necessary to write <HTML> at the beginning of the HTML document.
Answer: T
D. Answer the following questions:
1. What is HTML?
Answer: HTML is a markup language, mainly used for creating web pages.
2. Differentiate the following:
a. container tag and empty tag b. <P> tag and <BR> tag
c. <HEAD> tag and <TITLE> tag
Answer:
a. Container: Container tag has a starting tag as well as ending tag.
Empty: Empty tag has only starting tag, it does not have ending tag.
b. <P> tag is used for new paragraph.
<BR> tag is used for used for seperate the lines.
c. <HEAD> tag is used to denote the heading of the web page.
<TITLE> tag is used to give a title to the HTML document.
3. Explain the different kinds of web browsers available in the market.
Answer: There are different kinds of web browsers:
1. Google Chrome
2. Internet Explorer
3. Opera
4. UC Browser
4. Differentiate between ordered list and menu list.
Answer: Ordered List: Ordered list is a number list. In ordered list, each item is automatically numbered starting with 1.
Menu List: The menu tag allows you to create a list in which each element is a word or phrase that fits in a single line.
5. Write short notes on the following:
a. Text control tag b. Preformatted text
c. nested list and directory list d. Heading tags
Answer:
a. The <textarea> tag defines a multi-line text input control. The <textarea> element is often used in a form, to collect user inputs like comments or reviews.
b. The blank spaces and indentation can be viewed in a web page by using <PRE> tag in the HTML source code.
c. Nested List: A list within another list is called nested list.
Directory List: This list can be created by <DIR> container tags. This is normally used for list of the names or some bills.
d. Heading Tags: The header tags are used in HTML document to display heading.
Some Other Links:
No comments:
Post a Comment