Digital Learning

Wednesday, December 8, 2021

CBSE Computer-Science Class-VII (Solved Exercise-7):

Computer Science
Class-VII
Chapter- 7 Continue with HTML

Section-1

A. Answer these questions orally:
1. What do you use to insert a blank space in the HTML document?
Answer: To insert a blank space special HTML code &nbsp has to be added to the document.

2. What is the use of break tag?
Answer: To start a new line without starting new paragraph the Break tag is used.

3. Why do you use Heading tag?
Answer: Text in a page is divided with the help of headings and make it easy to understand.

B. Tick the correct option:
1. A web browser ignores any extra ___________ added to the text in the HTML document.
a. spaces        b. pages            c. rules            d. degrees
Answer: spaces

2. HTML provides __________ different levels of headings from 1 to 6.
a. five            b. four                c. six                 d. seven
Answer: six

3. The <FONT> tag can take the attributes face and __________.
a. size            b. bottom          c. top                d. middle
Answer: size

Section-2

A. Fill in the blanks:
1. The full form of HTML is_________________.
Answer: Hyper Text Markup Language.

2. There are __________ different levels of headings in HTML.
Answer: Six

3. The align attribute can be added to the ___________ tag to center, left or right align the heading.
Answer: <H?>

4. Blank spaces can be added in the text by using the ________ code.
Answer: &nbsp

5. To start a new line, the empty element _________ is used.
Answer: Break Tag

6. the <FONT> tag can take the attributes ___________ and ______________.
Answer: Face , size

7. _________ tag is used to Bolden text.
Answer: <B>

B. Sate True or False:
1. The tag </p> has to be typed at the end of each paragraph.
Answer: T

2. <FONT> tag is an empty tag.
Answer: F

3. <P align=right> aligns a paragraph to the center.
Answer: F

4. HTML tag <H?> is used for displaying headings.
Answer: T

5. Text can be made to appear in the center by using the container element <CENTER>.
Answer: T

6. Text can be underlined by using <UNDER> tag.
Answer: F

C. Answer the following questions:
1. Give the syntax to change the alignment of the paragraph. (with one example)
Answer: Syntax: <P align=label>.........</p>
Example:
<HTML>
<HEAD>
<TITLE>PARAGRAPH ALIGNMENT</TITLE>
</HEAD>
<BODY>
<P align=left>
This paragraph is aligned to the left.</P>
</BODY>
</HTML>

2. Give the syntax for the following:
a. Changing the font
Answer: Syntax for changing the font:
<FONT face=name>

b. Changing the font size
Answer: <FONT size=val>

3. How will you make a text bold or italic? (give an example)
Answer: To make text bold or italic we can use <B>, <I> tag.
Syntax: <B><I> Hello</I></B>

4. How will you centralize a text? (give an example)
Answer: Text can be made to appear in the center by using the container element <CENTER>
Syntax: <CENTER>...................</CENTER>

No comments:

Post a Comment