Wednesday, 1 December 2021

L-6 HTML Basics/class-8 Computer

 

Class-8th

Subject – Computer

L-6 HTML Basics

A. Choose the Correct Answer.

1. The full form of HTML is…………………

1. Hyper text makeup language

2. Hyper text markup language

3. Hyper text mode language

4. None of the above

 

2. This attribute is used to set the color of the background.

1. BGcolor                                      2. Colour

2. Background colour                     4. None of these

 

3. HTML define ………………level of headings.

1. 6                                                   2. 10

3. 5                                                   4. None of these

4. The valid range of size attribute of base font in html is

1. 1-3                                                2. 1-7

3. 1-6                                                4. 1-5

 

5. Choose the correct HTML tag for the largest heading.

1. <heading>                                   2. <head>

3. <h6>                                            4. <h1>

 

6. What are the two parts that all normal web pages consist?

1. Top and Bottom                          2. Head and Body

3. Body and Tags                           4. None of these

B. Fill in the blanks:-

1. HTML are initials that stand for hyper text markup language .

2. Any HTML document prepares a full webpage .

3. File extension of HTML document is given as .HTML / .HTM

4. The HTML <TITLE > tag is used for declaring the title of the HTML document.

5. The title tag is placed between the opening and closing  <HEAD> tag.

 

C. Answer questions:-

1. What is HTML? What are its uses?

Ans:HTML (Hypertext Markup Language) is the code that is used to structure a web page and its content. For example, content could be structured within a set of paragraphs, a list of bulleted points, or using images and data tables.

 

2. What are the three basic elements of an HTML Document?

Ans: 1. Html Tag :- This is a container element. Through this, document is recognized as HTML document or this element signifies that the document you are using is an

HTML document.

<HTML>

2. Head Tag :- This is also a container element, which is used for defining the HTML document, but it does not put any effect on the presentation.

<HEAD>

3. Title Tag :- The HTML<title> tag is used for declaring the title of the html document.

<TITLE>

4. Body Tag :- All the main contents of the document are kept in the container element. BACKGROUND. BGCOLOR, TEXT, etc. attributes are kept in Body element.

<BODY>

 

3. Difference between the ordered list and Unordered list.

Ans:

Ordered List

Unordered List

An ordered list is a collection of objects ordered by value

An unordered list is a collection of objects with no inherent order.

 It is also known as number list.

It is also known as bulleted list.

 

 

4. What are the different Direction of Right & left tag.

Ans: 1. Left :- It means that the block of text will scroll towards left hand side from the extreme right hand side of the web page.

2. Right :- It means that the block of text will scroll towards the right hand side from the extreme left hand side of the web page.

 

5. How will you align text with the images in an HTML document?

Ans: Use Alignment attribute  to align image in HTML | <img> align Attribute

1.    left: It sets the alignment of image to the left.

2.    right: It sets the alignment of image to the right.

3.    middle: It sets the alignment of image to the middle.

4.    top: It sets the alignment of image to the top.

5.    bottom: It sets the alignment of image to the bottom.

 

No comments:

Post a Comment

L-1 Indian Heroes in IT/ 8th computer

  Class 8 th Subject : Computer Science L-1 Indian Heroes in IT Make a list of Indian Heroes in IT with their achievement S....