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: .html
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