Digital Learning

Tuesday, November 12, 2024

Computer-Science-Class-7 Chapter-6(2024-25):

Computer Science
Class-7
Chapter-6 HTML: An Introduction

A. Tick the correct option:
1. The word Hypertext was first named and used by-
a. Tim Berner Lee    b. Ted Nelson        c. Charles Babbage        d. None of these
Answer: Ted Nelson
2. Which of the following is a markup language?
a. WordPad               b. XML                    c. Notepad                       d. None of these
Answer: XML
3. It allows you to create web pages without knowing how to write HTML codes-
a. Adobe Dreamweaver    b. MS Word    c. Notepad                    d. None of these
Answer: Adobe Dreamweaver
4. Which of the following is an example of WYSIWYG editor?
a. Notepad                b. MS Word            c. Microsoft Front Page    d. None of these
Answer: Microsoft Front Page
5. Which of the following is an example of text editor?
a. DHTML                b. Notepad                c. Microsoft Front Page    d. None of these
Answer: Notepad
6. Which of these provides extra information about HTML elements?
a. Body tag                b. Tags                       c. Attributes                    d. None of these
Answer: Attributes


B. Write T for true and F for false statements:
1. Tim Berners Lee, the creator of WWW developed HTML in early 1990s at CERN in Geneva, Switzerland.
Answer: T
2. DHTML is used to create your own markup language.
Answer: F
3. Text editors allow you to create web pages without knowing how to write HTML codes.
Answer: F
4. An HTML tag always begins with left angled bracket(<) and ends with right angled bracket(>).
Answer: T
5. Empty tags require an ending tag.
Answer: F
6. The content in between<Body>......</Body> tags is not displayed in web browser.
Answer: F
7. Text attribute is used to set colour to the body text.
Answer: T


C. Answer the following questions:
1. What is HTML? Write two features of HTML.
Answer: HTML is a markup language for creating web pages to display on World Wide Web. HTML stands for Hyper Text Markup Language.
Features of HTML:
1. HTML gives the text an attractive appearance.
2. HTML links various documents with one another.

2. Name two types of HTML editors.
Answer: Two types of HTML editors are:
1. WYSIWYG stands for What you see is what you get. These types of editors allow you to create web pages without knowing how to write HTML codes.
2. Text Editors: You can also create HTML documents using notepad, wordpad or any other text editors. In text editor you have to write HTML codes to create web page.

3. What are HTML tags?
Answer: A web page is made up of HTML elements that are identified by HTML tags. An HTML tag tells a web browser how to display a particular text. An HTML tags begins with left angled bracket (<) and ends with right angled bracket (>).

4. What are HTML attributes?
Answer: HTML attributes provide extra information about HTML elements. Attributes are always specified in the start tag. For example: <body bgcolor="blue"> Here bgcolor is the attribute of the body tag which specifies the background colour of the web page.

5. Write about any one Body tag attribute.
Answer: Attributes of body tag:
The body tag can have a number of attributes that are used to describe the formatting features for the entire body of HTML document.
Bgcolor: Is is used to set the background colour of your web page. Syntax for bgcolor attribute is <body bgcolor="color name">

6. Write the steps to view HTML document in Internet Explorer.
Answer: To view an HTML document, perform the following steps:
1. Open internet explorer.
2. Click on file menu.
3. Click on open option.
4. Click on browse button.
5. Choose the html file.
6. Click on open button.
7. Click on OK button.

7. Explain <br> and <title> tags with their syntax.
Answer: 
<BR> Tag: The line break tag <br> is an empty tag used to insert a line break. To start a new line, insert a line break tag. This tag has no end tag. Syntax: <br>.
<Title> Tag: The text in-between <Title>..........</Title> tags creates the page title that is seen in the title bar of the web page. Syntax: <Title>.........</Title>.

No comments:

Post a Comment