पहले 10 प्रश्नों के उत्तर और हल यहीं खुले हैं; बाक़ी 16 के उत्तर और हल FliQi Question Bank app में।
भाषा
प्रश्न 1उत्तर + हल
HTML में सूची के आइटम का नाम प्रदर्शित करने के लिए कौन-सा टैग है?
The tag to display the name of a list item in HTML is?
A<LI>
B<L1>
C<List Type>
D<List Item>
सही उत्तर / Answer: (A)
हल / Solution
सूची का हर आइटम <LI> टैग में लिखा जाता है। LI का पूरा नाम List Item है, और यह <OL> या <UL> के अंदर आता है। <L1> में अक्षर i की जगह अंक 1 लिखा है, इसलिए यह ग़लत टैग है। type एक एट्रिब्यूट है, कोई टैग नहीं, इसलिए <List Type> ग़लत है। <List Item> तो बस LI का पूरा नाम है। टैग के नाम में खाली जगह नहीं होती।
Each item of a list is written inside the <LI> tag. LI stands for List Item, and it sits inside <OL> or <UL>. <L1> uses the digit 1 in place of the letter i, so it is a wrong tag. Type is an attribute, not a tag, so <List Type> is wrong. <List Item> is only the full form of LI. A tag name never contains a space.
प्रश्न 2उत्तर + हल
अनऑर्डर्ड लिस्ट का वह सही HTML कोड कौन-सा है, जिसमें सप्ताह के 3 दिन सर्कल (circle) बुलेट के साथ दिखें?
What is the correct HTML code for an unordered list with 3 days of the week displayed with circle bullets?
C<UL Type = "Circle Sunday, Monday, Friday"> </UL>
D<UL Type> Sunday, Monday, Friday"> </UL>
सही उत्तर / Answer: (B)
हल / Solution
अनऑर्डर्ड लिस्ट <UL> से बनती है और हर आइटम <LI> के अंदर अलग से लिखा जाता है। Type="Circle" से हर आइटम के आगे ख़ाली गोला दिखता है। दूसरे विकल्प में ये तीनों बातें ठीक हैं। <Unordered list> नाम का कोई टैग नहीं है। तीसरे विकल्प में दिन type के मान में घुसा दिए गए हैं और <LI> है ही नहीं। चौथे में type का मान ग़ायब है और <LI> भी नहीं है।
An unordered list is made with <UL>, and each item is written separately inside <LI>. Type="Circle" shows a hollow circle before every item. The second option gets all three of these right. There is no tag called <Unordered list>. The third option pushes the days into the value of type and has no <LI> at all. The fourth has no value for type and no <LI> either.
प्रश्न 3उत्तर + हल
ऑर्डर्ड लिस्ट व अनऑर्डर्ड लिस्ट में type एट्रिब्यूट का कार्य क्या है?
What is the function of the type attribute in an ordered list and an unordered list?
Aप्रदर्शित होने वाले ऑब्जेक्ट की स्टाइल बतानाTo specify the style of the object to be displayed
Bऑर्डर्ड लिस्ट में type एट्रिब्यूट नंबर, लोअरकेस, अपरकेस और रोमन नंबर प्रदर्शित करता हैIn an ordered list, the type attribute displays numbers, lowercase letters, uppercase letters and Roman numbers
Cअनऑर्डर्ड लिस्ट में type एट्रिब्यूट डिस्क, सर्कल और स्क्वायर बुलेट प्रदर्शित करता हैIn an unordered list, the type attribute displays disc, circle and square bullets
Dउपरोक्त सभीAll of the above
सही उत्तर / Answer: (D)
हल / Solution
type एट्रिब्यूट सूची के आइटम के आगे आने वाले चिह्न या नंबर की स्टाइल तय करता है, इसलिए पहला कथन सही है। ऑर्डर्ड लिस्ट में यह 1, a, A, i और I चुनने देता है, यानी नंबर, लोअरकेस, अपरकेस और रोमन नंबर। इसलिए दूसरा कथन सही है। अनऑर्डर्ड लिस्ट में यह disc, circle और square बुलेट चुनता है, तो तीसरा भी सही है। तीनों सही हैं, इसलिए उत्तर 'उपरोक्त सभी' है।
The type attribute sets the style of the mark or number shown before each list item, so the first statement is true. In an ordered list it lets us choose 1, a, A, i and I, that is numbers, lowercase, uppercase and Roman numbers, so the second is true. In an unordered list it picks disc, circle or square bullets, so the third is true too. All three hold, so the answer is All of the above.
प्रश्न 4उत्तर + हल
ऑर्डर्ड लिस्ट (ordered list) में अपरकेस अक्षरों के लिए सही कथन कौन-सा है?
Which is the correct statement for uppercase in an ordered list?
A<OL TYPE = "A">
B<OL TYPE "AA">
C<OL TYPE == "A">
D<TYPE = "A"OL>
सही उत्तर / Answer: (A)
हल / Solution
ऑर्डर्ड लिस्ट को बड़े अक्षरों A, B, C से गिनने के लिए <OL> में TYPE="A" लिखा जाता है। एट्रिब्यूट का सही ढंग है: नाम, फिर एक बराबर का चिह्न, फिर उद्धरण में मान। दूसरे विकल्प में बराबर का चिह्न ग़ायब है और "AA" कोई मान्य मान नहीं। तीसरे में दो बराबर के चिह्न हैं, जो HTML में नहीं चलते। चौथे में टैग का नाम ही उलटी जगह पर है।
To count an ordered list with capital letters A, B, C, we write TYPE="A" inside <OL>. An attribute is written as its name, then one equals sign, then the value in quotes. The second option has no equals sign, and "AA" is not a valid value. The third uses two equals signs, which HTML does not accept. In the fourth option the tag name is in the wrong place.
प्रश्न 5उत्तर + हल
इनमें से कौन-सा टैग सूची (list) के लिए नहीं है?
Which of the following is not a tag for list?
A<OL>
B<UL>
C<DL>
D<TYPE>
सही उत्तर / Answer: (D)
हल / Solution
HTML में <TYPE> नाम का कोई टैग नहीं होता। type असल में एक एट्रिब्यूट है, जो <OL> या <UL> के अंदर लिखा जाता है। यह सूची का रूप तय करता है, जैसे 1, A, i या circle, square। बाक़ी तीनों सूची के असली टैग हैं। <OL> नंबर वाली सूची बनाता है। <UL> बुलेट वाली सूची बनाता है। <DL> शब्द और उसके विवरण की सूची बनाता है।
HTML has no tag named <TYPE>. Type is really an attribute that is written inside <OL> or <UL>. It sets the style of the list, such as 1, A, i or circle, square. The other three are real list tags. <OL> makes a numbered list. <UL> makes a bulleted list. <DL> makes a list of terms with their descriptions.
प्रश्न 6उत्तर + हल
बुलेट वाली सूची (bulleted list) बनाने के लिए निम्नलिखित में से कौन-सा विकल्प उपलब्ध है?
Which of the following options is available for creating a bulleted list?
Bट्राएंगल, डिस्क, सर्कल (Triangle, Disc, Circle)Triangle, Disc, Circle
Cट्राएंगल, स्क्वायर, सर्कल (Triangle, Square, Circle)Triangle, Square, Circle
Dडिस्क, स्क्वायर, सर्कल (Disc, Square, Circle)Disc, Square, Circle
सही उत्तर / Answer: (D)
हल / Solution
बुलेट वाली सूची <ul> से बनती है और इसके बुलेट के तीन मानक रूप हैं। disc भरा हुआ गोला है और यही डिफ़ॉल्ट है। circle ख़ाली गोला है और square भरा हुआ चौकोर। पहले ये type एट्रिब्यूट से चुने जाते थे, अब CSS की list-style-type से। पहले तीनों विकल्पों में triangle है। त्रिकोण वाला कोई बुलेट मान नहीं होता, इसलिए वे तीनों ग़लत हैं।
A bulleted list is made with <ul>, and its bullets have three standard shapes. Disc is a filled circle and it is the default. Circle is a hollow circle, and square is a filled box. Older HTML chose them with the type attribute; today CSS list-style-type does it. The first three options all include triangle. No bullet value called triangle exists, so all three of them are wrong.
प्रश्न 7उत्तर + हल
नंबरों वाली सूची (numbered list) बनाने के लिए कौन-सा टैग प्रयोग होता है?
Which tag is used to create a list with numbers?
A<ul>
B<dl>
C<ol>
D<list>
सही उत्तर / Answer: (C)
हल / Solution
नंबरों वाली सूची <ol> टैग से बनती है। इसका पूरा नाम Ordered List है। इसमें हर आइटम के आगे क्रम से 1, 2, 3 जैसे नंबर अपने आप लग जाते हैं। <ul> से बनी सूची में नंबर नहीं, बल्कि disc, circle या square जैसे बुलेट आते हैं। <dl> शब्द और उनकी परिभाषा की सूची है। <list> नाम का कोई टैग HTML में नहीं है।
A list with numbers is made with the <ol> tag, which stands for Ordered List. Each item in it gets a number like 1, 2, 3 in order on its own. A list made with <ul> shows bullets such as disc, circle or square, not numbers. The <dl> tag is a list of terms with their definitions. There is no tag named <list> in HTML.
प्रश्न 8उत्तर + हल
HTML में <ol> टैग किस प्रकार की सूची बनाता है?
In HTML, what kind of list will <ol> tags create?
Aग्रोसरी लिस्ट (Grocery List)Grocery List
Bसिंबल लिस्ट (Symbol List)Symbol List
Cऑर्डर्ड लिस्ट (Ordered List)Ordered List
Dबुलेटेड लिस्ट (Bulleted List)Bulleted List
सही उत्तर / Answer: (C)
हल / Solution
<ol> का पूरा नाम Ordered List है। इसमें हर आइटम एक तय क्रम में आता है, जैसे 1, 2, 3 या A, B, C। इसका उपयोग तब होता है जब आइटम का क्रम मायने रखता हो, जैसे किसी काम के चरण। बुलेटेड लिस्ट <ul> से बनती है, जिसमें नंबर की जगह बुलेट आते हैं। ग्रोसरी लिस्ट और सिंबल लिस्ट HTML में सूची के कोई प्रकार नहीं हैं।
<ol> stands for Ordered List. In it, each item appears in a fixed order, such as 1, 2, 3 or A, B, C. It is used when the order of items matters, for example the steps of a task. A bulleted list is made with <ul>, which shows bullets in place of numbers. Grocery List and Symbol List are not list types in HTML at all.
प्रश्न 9उत्तर + हल
लोअरकेस अक्षरों का प्रयोग करके सूची बनाने के लिए कौन-सा HTML कोड प्रयोग होता है?
Which of the following HTML code is used to create a list using lowercase letters?
A<ol type = "a">
B<ol case ="a">
C<ol letter ="a">
D<ol "a">
सही उत्तर / Answer: (A)
हल / Solution
<ol> टैग के साथ type एट्रिब्यूट लगाकर नंबरिंग का रूप बदला जाता है। type="a" का मतलब है कि आइटम छोटे अक्षरों a, b, c से गिने जाएँगे। case और letter नाम के कोई मानक एट्रिब्यूट <ol> में नहीं होते, इसलिए ब्राउज़र उन्हें अनदेखा कर देता है। चौथे विकल्प में एट्रिब्यूट का नाम ही ग़ायब है। ऐसे में सूची सामान्य 1, 2, 3 नंबरों में ही दिखेगी।
The type attribute of the <ol> tag changes the style of numbering. type="a" means the items will be counted with small letters a, b, c. The <ol> tag has no standard attributes named case or letter, so the browser ignores them. In the fourth option the attribute name is missing altogether. In such cases the list just shows the usual 1, 2, 3 numbers.
प्रश्न 10उत्तर + हल
लोअरकेस अक्षरों (a, b, c) वाली सूची बनाने के लिए क्या लिखेंगे?
To create a list using lowercase letters, use
A<ol "a">
B<ol="a">
C<ol letter="a">
D<ol type="a">
सही उत्तर / Answer: (D)
हल / Solution
क्रमबद्ध सूची <ol> की नंबरिंग का रूप type एट्रिब्यूट तय करता है। type="a" देने पर आइटम a, b, c से गिने जाते हैं। type="A" बड़े अक्षर देता है और type="i" छोटे रोमन अंक। पहले और दूसरे विकल्प में एट्रिब्यूट का नाम ही नहीं है, इसलिए ब्राउज़र "a" को समझ नहीं पाता। letter नाम का कोई एट्रिब्यूट <ol> में होता ही नहीं।
The type attribute of an ordered list, <ol>, decides how its items are counted. With type="a" the items are counted a, b, c. type="A" gives capital letters and type="i" gives small Roman numbers. The first and second options have no attribute name at all, so the browser cannot use the "a". The <ol> tag also has no attribute called letter.
आगे के 16 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति