#Advertisement

Computer Test Answers Class 6 (Introduction to HTML)

HTML, or HyperText Markup Language, is the basic language used to create web pages. It is a simple language that uses special codes called tags to structure content on a webpage, such as text, images, links, and more. Here are questions for practice with answers from the chapter of Introduction to HTML for students of Class 6 of CBSE Board. 

Introduction to HTML

- Structure of Web Pages: HTML provides the structure of a webpage, much like a skeleton for a body. It tells the browser how to display the different parts of a webpage.

- Tags and Elements: HTML uses tags, such as <p> for paragraphs or <h1> for headings, to organize and format content. Tags are written within angle brackets < >.

- Basic HTML Document: Every HTML document has a standard structure:

- <html>: The root tag that starts and ends the HTML document.

- <head>: Contains information about the webpage, like the title.

- <title>: Sets the title of the webpage shown on the browser tab.

- <body>: Contains all the main content like text, images, and links.

Answers of Computer Test Class 6 (26 October 2024)

A. Fill in the blanks:

1. HTML stands for HyperText Markup Language.

2. The basic structure of an HTML document begins with the <html> tag.

3. To add a title to a web-page, we use the <title> tag within the head section.

4. The <body> tag contains the main content of the web-page.

5. The <p> tag is used to create a paragraph in HTML.


B. Choose the correct answer:

1. The tag used to create a heading in HTML is:

a) <head>
b) <p>
c) <h1>
d) <title>


2. What is the purpose of the <hr>  tag?

a) To cretae a paragraph.
b) To create a division.
c) To create a horizontal line.
d) None of these.


3. HTML tags are enclosed in:

a) Curly brackets { }
b) Angle brackets < >
c) Square brackets [ ]
d) Round brackets ( )


4. The <img> tag is used to:

a) Add a link
b) Add a video
c) Display an image
d) Create a heading


5. What is an element?

a) A piece of text that appears outside a tag
b) A piece of text that appears inside a tag
c) A combination of a start tag, some content, and an end tag.
d) None of these.


C. Write 'T' for True and 'F' for False:

1. HTML stands for HyperText Marking Language. False
2. HTML files can be viewed in any web browser. True
3. HTML document is written using special syntax within square brackets. False
4. HTML tags are not case-sensitive, so <HTML> and <html> mean the same thing.  True
5. The closing tag should have a clsoing bracket at the end.       True


D. Answer the following questions:

1. What is HTML? Write its features. (3 Marks)

HTML stands for HyperText Markup Language. It is the language used to create web pages. 

Features of HTML:
- Structure: HTML helps organize the content on a webpage, such as text, images, and links.
- Tags: HTML uses special codes called tags (like `<p>` for paragraphs) to format and display content.
- Links: HTML allows you to create links to other webpages, making it easy to navigate the internet.

2. Differentiate between container tags and empty tags. (3 Marks)

- Container Tags: These tags have both an opening tag and a closing tag. For example, `<p>This is a paragraph.</p>`. The text between the tags is affected by them.
- Empty Tags: These tags do not have a closing tag. They are self-contained. For example, `<img src="image.jpg">` is used to show an image and does not need a closing tag.

3. Write the basic structure of an HTML document. (4 Marks)

The basic structure of an HTML document looks like this:

<!DOCTYPE html>
<html>
<head>
  <title>My First Webpage</title>
</head>
<body>
  <h1>Welcome to My Webpage</h1>
  <p>This is my first HTML page!</p>
</body>
</html>

**END**

🔴Beware of Cyber-Crime & Cyber-Fraudulent🔴

Post a Comment

0 Comments