HIML and CSS3 Introduction | Chapter 2 part I | Class 10 Computer Science 571(NCERT) Chapter 2 Question and Answer | Class 10 Computer Science 571 (NCERT) Question and Answer Solutions English Medium |

Introduction

Chapter 2


1. FILL IN THE BLANKS:


1. _______________ documents are made up of text content and special codes.

_______________ নথিপত্ৰসমূহ পাঠ্য বিষয়বস্তু আৰু বিশেষ ক’ডৰ দ্বাৰা গঠিত।

Ans: tag documents are made up of text content and special codes.

উত্তৰঃ ( টেগ ডকুমেণ্টবোৰ পাঠ সমল আৰু বিশেষ কোডৰ দ্বাৰা গঠিত।)


2. ______________ are used to write notes about an HTML document.

HTML নথিপত্ৰৰ বিষয়ে টোকা লিখিবলৈ ______________ ব্যৱহাৰ কৰা হয়।

Ans: The comment tag are used to write notes about an HTML document.

উত্তৰঃ (মন্তব্য টেগটো এইচটিএমএল দস্তাবেজৰ বিষয়ে টোকা লিখিবলৈ ব্যৱহাৰ কৰা হয়।)


3. HTML document is saved with an extension _______________.

HTML নথিপত্ৰ এটা সম্প্ৰসাৰণ _______________ ৰ সৈতে সংৰক্ষণ কৰা হয়।

Ans: 

4. ______________ are used to view the HTML documents.

HTML নথিপত্ৰসমূহ চাবলৈ ______________ ব্যৱহাৰ কৰা হয়।

Ans: Web Browsers are used to view the HTML documents.

উত্তৰঃ ( এইচটিএমএল নথিপত্ৰ চাবলৈ ৱেব ব্ৰাউজাৰ ব্যৱহাৰ কৰা হয়।)

5.  The  ___________ element include both on and off tags. 

___________ উপাদানত অন আৰু অফ দুয়োটা টেগ অন্তৰ্ভুক্ত কৰা হৈছে।

Ans: The Empty elements element include both on and off tags.

উত্তৰঃ (ৰিক্ত উপাদানত অন আৰু অফ দুয়োটা টেগ অন্তৰ্ভুক্ত থাকে)।

6. The   _____________   element splits the line and displays the text on a new line. 

_____________ উপাদানে শাৰীটো বিভাজিত কৰি নতুন শাৰীত লিখনী প্ৰদৰ্শন কৰে।

Ans: The <br> element splits the line and displays the text on a new line.

উত্তৰঃ  (<br> উপাদানটোৱে ৰেখাটো বিভাজন কৰে আৰু পাঠটো এটা নতুন শাৰীত প্ৰদৰ্শন কৰে।)



II. MULTIPLE CHOICE QUESTIONS:


1. Which is the correct way to comment out something in HTML?

HTML ত কিবা এটা মন্তব্য দিয়াৰ সঠিক উপায় কোনটো?

i. Using ## and # 

## আৰু # ব্যৱহাৰ কৰি

ii. Using <!-- and -->

<!-- আৰু --> ব্যৱহাৰ কৰি

iii. Using </-- and -/->

</-- আৰু -/-> ব্যৱহাৰ কৰি

iv. Using <!-- and -!>

<!-- আৰু -!> ব্যৱহাৰ কৰি

Ans: iii. Using </-- and -/->

উত্তৰঃ (</-- আৰু -/-> ব্যৱহাৰ কৰি)

2. The --------------- tag draws a horizontal line across the web page.


i. <br>

ii. <hr>

iii. <line>

Ans: ii. <hr>

উত্তৰঃ (<hr>)

3. -------------------- provides a set of style rules for defining the layout of the HTML documents.

-------------------- HTML দস্তাবেজসমূহৰ পৰিকল্পনা সংজ্ঞায়িত কৰাৰ বাবে শৈলী নিয়মসমূহৰ এটা গোট প্ৰদান কৰে।

i. CSS

ii. WSS

iii. TSS

Ans: i. CSS

উত্তৰঃ (CSS)

4. A property and its value are collectively known as ----------------

এটা সম্পত্তি আৰু ইয়াৰ মূল্যক সামূহিকভাৱে ---------------- বুলি জনা যায়।

i. Selector

নিৰ্বাচক

ii. Attribute

বৈশিষ্ট্য

iii. Declaration

ঘোষণা

5. Which tag indicates the beginning and end of the HTML documents?

কোনটো টেগে HTML নথিপত্ৰসমূহৰ আৰম্ভণি আৰু শেষ সূচায়?

i. <HEAD>

ii. <BODY>

iii. <HTML>

Ans: iii. <HTML>

উত্তৰঃ <HTML>

6. Which of the following is used to define the style for a single HTML page?

এটা HTML পৃষ্ঠাৰ বাবে শৈলী সংজ্ঞায়িত কৰিবলৈ তলৰ কোনটো ব্যৱহাৰ কৰা হয়?

i. Inline CSS

ইনলাইন চি এছ এছ

ii. Internal CSS

আভ্যন্তৰীণ CSS

iii. External CSS

বাহ্যিক CSS

Ans: ii. Internal CSS

উত্তৰঃ (আভ্য়ন্তৰীণ CSS)

III. APPLICATION BASED QUESTIONS:


1. Yashvi was styling an HTML document using CSS. She wants to add styles directly to an HTML tag using the style attribute with the tag. How can she do this?

(যশৱীয়ে CSS ব্যৱহাৰ কৰি এটা HTML নথিপত্ৰ ষ্টাইল কৰি আছিল। তাই টেগৰ সৈতে শৈলী বৈশিষ্ট্য ব্যৱহাৰ কৰি এটা HTML টেগত পোনপটীয়াকৈ শৈলী যোগ কৰিব বিচাৰে। তাই কেনেকৈ এই কাম কৰিব পাৰে?)

Ans: Yashvi was styling an HTML document using CSS. She wants to add styles directly to an HTML tag using the style attribute with the tag. She used to Inline CSS add styles directly to an HTML document.

2. Rohan wants to divide his web page into different sections so that the content is easily readable. Which tag can he use for this? Which attributes can he use to define some extra properties of this tag?

(ৰোহনে তেওঁৰ ৱেব পেজটো বিভিন্ন শিতানত ভাগ কৰিব বিচাৰিছে যাতে বিষয়বস্তু সহজে পঢ়িব পৰা যায়। ইয়াৰ বাবে তেওঁ কোনটো টেগ ব্যৱহাৰ কৰিব পাৰে? এই টেগৰ কিছুমান অতিৰিক্ত বৈশিষ্ট্য সংজ্ঞায়িত কৰিবলৈ তেওঁ কোনবোৰ বৈশিষ্ট্য ব্যৱহাৰ কৰিব পাৰে?)

Ans: Rohan wants to divide his web page into different sections so that the content is easily readable. he  <HR> can use tags to divide his web page into several sections so that the content can be easily readable.

3. Kirti wants to set the image of a park as the background of her web page but she is unable to do it. Which tag should she use to do so? Give the syntax.

(কীৰ্তিয়ে এখন পাৰ্কৰ ছবিখন নিজৰ ৱেব পেজৰ পটভূমি হিচাপে ছেট কৰিব বিচাৰে যদিও তাই সেই কাম কৰিবলৈ সক্ষম নহয়। তেনে কৰিবলৈ তাই কোনটো টেগ ব্যৱহাৰ কৰিব লাগে? বাক্যবিন্যাস দিয়ক।)

Answer: Kriti can set the picture of the park as the background of her web page, she has to write background qualities on the body tag.


IV. ANSWER THE FOLLOWING:


1. What is a markup language?

(মাৰ্কআপ ভাষা কি?)

Ans: Markup language, standard text-encoding system that consists of a set of symbols included in a text document to control the relationship between its structure, formatting, or parts of it.

(মাৰ্কআপ ভাষা, মানক পাঠ-এনক'ডিং প্ৰণালী য'ত ইয়াৰ গাঁথনি, ফৰ্মেটিং, বা ইয়াৰ অংশবোৰৰ মাজৰ সম্পৰ্ক নিয়ন্ত্ৰণ কৰিবলৈ পাঠ দস্তাবেজত অন্তৰ্ভুক্ত চিহ্নৰ এটা সংহতি থাকে।)

2. Write some feature of HTML.

(HTML ৰ কিছুমান বৈশিষ্ট্য লিখা।)

Ans:


3. Explain the terms tags and attributes with the help of an example.

(এটা উদাহৰণৰ সহায়ত টেগ আৰু এট্ৰিবিউট শব্দসমূহ ব্যাখ্যা কৰা।)

Ans: Tags are the simplest form of information used in HTML where attributes contain additional information. ... Tags are also used to mark the beginning and end of an HTML element while an attribute defines a component of a value pair a feature of the constitution and appears within the start tag elements.

4. How are comments useful?

(মন্তব্য কেনেকৈ উপযোগী?)

Ans: Comments are text notes added to the program to provide explanatory information about the source code. These are used in programming language to document the program and remind the programmers of what complex work they have just done with the code and also help the next generation understand and supervise the code.

(মন্তব্যবোৰ হৈছে উৎস কোডৰ বিষয়ে ব্যাখ্যামূলক তথ্য প্ৰদান কৰিবলৈ প্ৰ'গ্ৰামটোত যোগ দিয়া পাঠ টোকা। এইবোৰ প্ৰ'গ্ৰামটো নথিভুক্ত কৰিবলৈ আৰু প্ৰগ্ৰামাৰসকলক তেওঁলোকে এইমাত্ৰ কোডটোৰ সৈতে কি জটিল কাম কৰিছিল মনত পেলাই দিবলৈ প্ৰগ্ৰামিং ভাষাত ব্যৱহাৰ কৰা হয় আৰু লগতে পৰৱৰ্তী প্ৰজন্মক কোড বুজা আৰু তত্বাৱধান কৰাত সহায় কৰে)

5. What are Cascading Style Sheets? Name the different methods available for applying Style rules in an HTML document.

(কেছকেডিং ষ্টাইল শ্বীট কি কি? এটা HTML দস্তাবেজত শৈলী নিয়ম প্ৰয়োগ কৰাৰ বাবে উপলব্ধ বিভিন্ন পদ্ধতিৰ নাম লিখা।)

Ans: CSS can be applied to HTML or XHTML using three methods: linking, embedded, and inline. In the added manner, the CSS. Directly HTML. Saved to a separate file instead of being saved on the page. In embedded method, CSS. HTML as part of the page, stored in the header section.

(তিনিটা পদ্ধতি ব্যৱহাৰ কৰি এইচটিএমএল বা এক্সএইচটিএমএল-ত চিএছএছ প্ৰয়োগ কৰিব পাৰি: লিংক কৰা, এম্বেডেড, আৰু ইনলাইন। সংযোজিত পদ্ধতিত, চি.এছ.এছ. পোনপটীয়াকৈ এইচ.টি.এম.এল. পৃষ্ঠাত সঞ্চিত কৰাৰ পৰিৱৰ্তে এটা পৃথক ফাইলত সংৰক্ষণ কৰা হয়। এম্বেডেড পদ্ধতিত, চি.এছ.এছ. এইচ.টি.এম.এল. পৃষ্ঠাৰ অংশ হিচাপে, হেডাৰ শাখাত সঞ্চিত কৰা হয়।)

6. Differentiate between Internal CSS and External CSS.

(আভ্যন্তৰীণ CSS আৰু বাহ্যিক CSS ৰ মাজত পাৰ্থক্য কৰক।)

Ans: The main difference between inline CSS and external CSS is that inline CSS is processed rapidly as it requires only the browser to download 1 file while html and CSS files have to be downloaded separately to use external CSS.

LAB ACTIVITY

লেবৰ কাৰ্য্যকলাপ

1. Create a web page that serves as an invitation card to your birthday party. Use all the HTML tags along with CSS properties you have learnt to make it attractive and lively.

(আপোনাৰ জন্মদিনৰ পাৰ্টিলৈ আমন্ত্ৰণ কাৰ্ড হিচাপে কাম কৰা এটা ৱেব পৃষ্ঠা তৈয়াৰ কৰক। আপুনি শিকি অহা CSS বৈশিষ্ট্যসমূহৰ সৈতে সকলো HTML টেগ ব্যৱহাৰ কৰি ইয়াক আকৰ্ষণীয় আৰু সজীৱ কৰি তুলিব।)

 2. Create a web page that serves as a guide for the mathematical formulas using HTML tags along with CSS properties.

এটা ৱেব পৃষ্ঠা সৃষ্টি কৰক যিয়ে CSS বৈশিষ্ট্যসমূহৰ সৈতে HTML টেগসমূহ ব্যৱহাৰ কৰি গাণিতিক সূত্ৰসমূহৰ বাবে এটা গাইড হিচাপে কাম কৰে।


Type & Assamese Translate : Himashree Bora.

Author-Dikha Bora          




Post ID:DABP002074