0% found this document useful (0 votes)
38 views

AK CN Grade+7 Computer+Science Chapter+6

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

AK CN Grade+7 Computer+Science Chapter+6

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Computer Science

Chapter 6: Introduction to HTML Grade 7

CLASS NOTES-ANSWERS

Check Point

Read the clues and solve the crossword.

Clues

1) It is a tag used to define the title of the web page.

2) This is an HTML editor which is used to write HTML document.

3) It is a software used to access web pages or websites.

4) These tags are not used in pairs.

5) It is a collection of web pages.

6) What does H stand for in HTML?

Answer:

1. TITLE 3. WEB BROWSER 5. WEBSITE

2. NOTEPAD 4. EMPTY TAGS 6. HYPERTEXT

Exercise Corner

A. Tick (√) the correct answers.

1. HTML stands for

a) Hypertext Markup Language (√)

b) Hyperlink Markup Language

c) Hypertext Marker Language

2. The file extension of an HTML document is

a) .wpf. c) .txt.

b) .htm. (√)

www.gardenschool.in 1
Computer Science

Chapter 6: Introduction to HTML Grade 7


3. Which tag is used to write the main content of the web page?

a) <head> c) <body> (√)

b) <html>

4. Which attribute of the <body> tag gives a color to the background of the

web page?

a) backcolor c) background color

b) bgcolor (√)

5. Which of these is an empty tag?

a) <h1> c) <head>

b) <hr> (√)

6. The Align attribute can be used with

a) paragraph tag c) both a and b (√)

b) heading tag

B. Fill in the blanks.

1) HTML is a markup language.

2) A web page is made up of several elements.

3) HTML tags are always enclosed in angle (<>) brackets.

4) The tags that are generally used in pairs are called container tags.

5) A tag within another tag is called a nested tag.

C. Write True or False.

1. A web page can be accessed in Windows Explorer False

2. HTML is basically a building blocks for web pages True

www.gardenschool.in 2
Computer Science

Chapter 6: Introduction to HTML Grade 7


3. HTML 5 is the latest specification for HTML True

4. HTML tags are case sensitive False

5. Google chrome is a web browser True

6. The <br> tag is a container tag False

D. Match the columns.

1. Attributes e. additional feature

2. Bgcolor a. attribute of <body> tag

3. Tags b. used in angle brackets

4. HTML codes c. written in Notepad

5. Website d. a collection of web pages

E. What kind of tags do the following denote – container or empty tags?

1. <p> container/ empty

2. <hr> empty

3. <head> container

4. <br> empty

5. <h3> container

6. <title> container

F. Write the names of these tags.

1. <b> Bold tag

2. <br> Line break tag

3. <u> Underline tag

4. <p> Paragraph tag

www.gardenschool.in 3
Computer Science

Chapter 6: Introduction to HTML Grade 7


5. <i> Italic tag

6. <h6> Heading tag

G. Answer these questions.

1) What is HTML?

Answer

HTML stands for Hypertext Markup Language. It is a building block for

web pages. It tells a web browser how to display text and images of web

pages.

2) Distinguish between container tags and empty tags.

Answer

Container tags: These are generally used in pairs. They must have a start

tag and an end tag. For example: <p>…..</p>.

Empty tags: These are not used in pairs, and are represented

only by a Start tag. For example, <br>.

3) Write the steps to write and save an HTML document.

Answer

To create a web page and save it, follow these steps:

Step 1 Open the Notepad program and write the HTML

code

Step 2 Click on the File menu.

Step 3 Click on Save. The Save As dialog box appears

Step 4 Choose the location where the file is to be saved

www.gardenschool.in 4
Computer Science

Chapter 6: Introduction to HTML Grade 7


Step 5 Type the name for the file and enclose it with .html

extension.

Step 6 Click on the Save button to save your file

4) How many types of heading tags are there in HTML?

Answer

HTML can define up to 6 levels of headings from <h1> to <h6>. The <h1>

tag is the first and the highest level of heading and the <h6> tag is the

last and the lowest level of heading.

5) Write short note on:

1) <hr> tag

2) Nested tags

3) Bgcolor attribute

4) Align attribute

Answer

a. <hr> tag: The <hr> tag is used to insert a horizontal rule (line) in the

web page.

b. Nested tags: HTML tags which are used in other HTML tags are called

nested tags. For example, <p><marquee>Heading of

Paragraph</marquee></p>.

c. Bgcolor attribute: This is the attribute of the <body> tag. It

allows to define a background color for the web page. It can

be used as: <body bgcolor= “red”>.

d. Align attribute: This attribute can be used with headings (<h1>

to <h6> tags) to align headings and paragraphs (<p> tag) to


www.gardenschool.in 5
Computer Science

Chapter 6: Introduction to HTML Grade 7


align paragraphs.

6) What is the difference between the <br> tag and <p> tag?

Answer

The <p> tag is used to define start and end of a paragraph in the text. It

is both a container and an empty tag. The <p> tag automatically inserts

a blank line between two paragraphs.

The <br> tag forces a line break wherever we place it. It means that the

text moves to the next line without leaving a blank line in between. It is

an empty tag.

www.gardenschool.in 6

You might also like