Digital Learning

Friday, February 26, 2021

CBSE Computer-Class-VIII-(Solved Exercise-6):

Solved Exercise
Class-VIII
Chapter- 6: HTML-I

A. Multiple choice questions:
1. ________ is a computer language.
a. HTML                        b. STML                        c. GML                  d. SGML
Answer: HTML
2. HTML supports insertion of _______ into an electronic document.
a. audio                          b. video                         c. animation          d. all of these
Answer: all of these
3. </HTML> shows the _________.
a. opening tag                b. ending tag               c. creating tag        d. deleting tag
Answer: ending tag
4. ______ list is also known as the numbered list.
a. ordered                       b. unordered               c. definition            d. none of these
Answer: ordered
5. A definition list starts with a _______ tag.
a. <DL>                           b. <DT>                        c. <OL>                 d. <DB>
Answer: <DL>
6. Empty elements contain only __________ tag.
a. ON                               b. OFF                            c. both of them     d. none of them
Answer: ON
7. _______ element indicates that the enclosed text should be displayed in an italic typeface.
a. bold                             b. italic                           c. underline           d. font 
Answer: Italic

B. Write 'T' for true and 'F' for false statements. 
1. HTML stands for hyper text markup language.
Answer: T
2. HTML list difficult to use and understand.
Answer: F
3. HTML markup tags are usually called HTML tags.
Answer: T
4. Ordered list is also known as unnumbered list and starts with bullets.
Answer: F
5. <HTML> shows the ending tag.
Answer: F
6. The valid value ranges from 1-7 and by default the size of the font is 3.
Answer: T
7. The bold tag is used, when you want to emphasize the text.
Answer: T

C. Fill in the blanks:
1. Many types of software like HTML and ________ are available for designing websites.
Answer: FrontPage
2. _____ executes commands in very less time.
Answer: HTML
3. HTML tags normally come in pairs, comprising _______ and end tags.
Answer: Start
4. A _____ may contain numerous terms and descriptions, one after the other.
Answer: Definition
5. ______ elements are called void elements.
Answer: Empty
6. <H1> is the highest level and <H6> is the ______ level.
Answer: Lowest
7. _______ attribute sets the text color.
Answer: Color

D. Answer the following questions in short:
1. What is the full form of HTML?
Answer: Hyper Text Markup Language

2. What is HTML tag?
Answer: HTML markup tags are usually called HTML tags.

3. How many types of lists are there in HTML? Name them.
Answer: There are three different types of lists.
1. Ordered 
2. Unordered
3. Definitions

4. What is the extension of HTML document?
Answer: .html is the extension of HTML document.

5. Which tag is used to change the text color?
Answer: <FONT> tag is used to change the text color.

E. Answer the following questions in detail:
1. What are the advantages of HTML?
Answer: 
1. HTML is easy to use and understand. It executes commands in very less time.
2. HTML is a versatile language.
3. HTML allows linking of different web pages.
4. It is free- you need not buy and software.
5. It is easy to learn & code even for learner programmers.

2. How do you create a document in HTML?
Answer: To create an HTML document, you can type the text in any processor, like word pad, notepad. Steps to create HTML document.
1. Open notepad.
2. Type a simple HTML document
3. Click on file> save menu option. Save document with .html extension.
4. Click on save button.

3. How do you create a definition list in HTML?
Answer: A definition list may contain numerous terms and descriptions, one after the other.
To create a definition list in HTML use the following tags:
1. A definition list starts with a <DL> tag
2. Each term starts with a <DT> tag
3. Each description starts with a <DD> tag.

4. What are container and empty elements in HTML? Explain with examples.
Answer: 
Container element: In HTML, the container is the area enclosed by the beginning and ending tags.
Empty elements: Empty elements have only start tag.

5. Define heading element.
Answer: Heading element is a HTML element, mostly useful to show headings and sub headings of the site and contents headlines in web pages.

6. Explain the font element with an example.
Answer: The font element is used to change the size, font type or color of the text in the web page. The syntax of the font element is : <FONT>.............</FONT>
Example:
<html>
<head>
<title> using font styles
</title>
</head>
<body>
<FONT SIZE="6"> changes the value of the text size to 6 </FONT>
</body>
</html>

F. Define the terms:
1. HTML                                   2. HTML tag                            3. Ordered list
4. Unordered list                    5. Bold element                       6. Italic element
7. Underline element
Answer: 
1. HTML: HTML is a Hyper Text Markup Language.
2. HTML tag: HTML markup tags are usually called HTML tags.
3. Ordered list: A number list is called ordered list.
4. Unordered list: A unnumbered list is called unordered list.
5. Bold element: It is used to change text into bold.
6. Italic element: It is used to change text into italic.
7. Underline element: It is used to displayed text underlined.

F. Write what they are meant for:
1. HTML stands for                            2. HTML tags determine
3. In HTML we can use the <OL> tag              4. A definition list may contain
5. <BR> tag breaks                             6. <FONT SIZE=6> changes
7. Type <B> before typing 

Answer: 
1. HTML stands for Hyper Text Markup Language.
2. HTML tags determine the way that the web browser will display the text.
3. In HTML we use <OL> tag for ordered list.
4. A definition list may contain numerous terms and descriptions, one after the other.
5. <BR> tag is used to break the line.
6. <FONT SIZE=6> changes the font size into size 6.
7. Type <B> before typing text into bold.

No comments:

Post a Comment