पहले 10 प्रश्नों के उत्तर और हल यहीं खुले हैं; बाक़ी 12 के उत्तर और हल FliQi Question Bank app में।
भाषा
प्रश्न 1उत्तर + हल
<BR> टैग के लिए कौन-सा कथन ग़लत है?
Which statement is wrong for the <BR> tag?
Aयह एक एम्प्टी टैग है।This is an empty tag.
Bयह दो लाइनों के मध्य स्पेस देने में उपयोग किया जाता है।It is used to give space between two lines.
Cयह टेक्स्ट को नई लाइन से शुरू करता है।This starts the text on a new line.
Dयह फ़ॉन्ट साइज़ को बढ़ाता है।This increases the font size.
सही उत्तर / Answer: (D)
हल / Solution
<BR> एक empty tag है, इसका closing टैग नहीं होता, इसलिए पहला कथन सही है। यह आगे के टेक्स्ट को नई लाइन में भेज देता है, यानी तीसरा कथन भी सही है। दो लाइनों के बीच ख़ाली जगह चाहिए तो <BR> लगाकर ही दी जाती है, इसलिए दूसरा कथन भी ठीक है। पर फ़ॉन्ट का आकार बढ़ाना इसका काम नहीं; उसके लिए CSS की font-size लगती है। इसलिए चौथा कथन ग़लत है।
<BR> is an empty tag with no closing tag, so statement A is true. It pushes the following text onto a new line, so statement C is true too. Adding <BR> tags is also how space is placed between two lines, so B holds. But <BR> has nothing to do with font size; that is set with the CSS font-size property. So statement D is the wrong one.
प्रश्न 2उत्तर + हल
निम्न में से कौन-सा HTML में रिक्त (empty) या शून्य तत्त्व है?
Which of the following is an empty or null element in HTML?
A<p>
B<br>
C<abbr>
D<sup >
सही उत्तर / Answer: (B)
हल / Solution
रिक्त तत्त्व (empty element), जिसे void element भी कहते हैं, वह है जिसके अंदर content नहीं होता और जिसका closing टैग नहीं होता। <br> ऐसा ही है; यह बस लाइन तोड़ता है। <p> पैराग्राफ़ का टैग है और </p> से बंद होता है। <abbr> संक्षिप्त रूप वाले टेक्स्ट को घेरता है। <sup> टेक्स्ट को ऊपर उठाकर superscript बनाता है। ये तीनों container हैं।
An empty element, also called a void element, holds no content and has no closing tag. <br> is one; it only breaks the line. <p> is the paragraph tag and closes with </p>. <abbr> wraps an abbreviation, and <sup> raises text as superscript. All three wrap content between opening and closing tags, so they are container tags, not empty ones.
प्रश्न 3उत्तर + हल
लाइन बदलने (लाइन ब्रेक) के लिए किस HTML टैग का उपयोग किया जाता है?
Which HTML tag is used to insert a line break?
A<br>
B<break>
C<Break >
D</>
सही उत्तर / Answer: (A)
हल / Solution
लाइन तोड़ने के लिए <br> टैग लगता है। यह empty tag है, इसलिए इसका closing टैग नहीं होता। जहाँ यह लगता है, वहीं से आगे का टेक्स्ट नई लाइन में चला जाता है। <break> नाम का कोई टैग HTML में नहीं है। HTML टैग के नाम में बड़े-छोटे अक्षर का फ़र्क़ नहीं होता, इसलिए <Break> भी उतना ही ग़लत है। </> तो सिर्फ़ अधूरा closing चिह्न है, अपने आप में कोई टैग नहीं।
The <br> tag inserts a line break. It is an empty tag, so it has no closing tag. The text after it moves to the next line. There is no <break> tag in HTML. HTML tag names ignore letter case, so <Break> is just as wrong. </> is only the incomplete start of a closing tag, not a tag of its own. So <br> is the only correct choice.
प्रश्न 4उत्तर + हल
निम्नलिखित में से कंटेनर टैग कौन-सा है?
Which of the following is a container tag?
A<BR>
B<HR>
C<B> & <I>
Dइनमें से कोई नहींNone of these
सही उत्तर / Answer: (C)
हल / Solution
container tag का opening और closing दोनों टैग होते हैं और बीच में content रहता है। <B>...</B> टेक्स्ट को bold करता है और <I>...</I> उसे italic करता है। दोनों को बंद करना पड़ता है, इसलिए दोनों container हैं। <BR> लाइन तोड़ता है और <HR> क्षैतिज रेखा खींचता है। इन दोनों के अंदर कुछ नहीं लिखा जाता, इसलिए ये empty tag हैं। सही उत्तर मौजूद है, इसलिए अंतिम विकल्प ग़लत है।
A container tag has an opening and a closing tag with content between them. <B>...</B> makes text bold and <I>...</I> makes it italic. Both must be closed, so both are container tags. <BR> breaks a line and <HR> draws a horizontal line. Nothing is written inside them, so they are empty tags. Since option C is correct, 'None of these' is wrong.
प्रश्न 5उत्तर + हल
नीचे दिए गए में से कौन-सा एक empty (खाली) टैग है?
Which one of the following is an empty tag?
Aembed
Bpre
Clegend
Dpost
सही उत्तर / Answer: (A)
हल / Solution
empty tag का closing टैग नहीं होता और उसके अंदर content नहीं लिखा जाता। <embed> ऐसा ही टैग है। यह पेज में वीडियो, ऑडियो या plugin जैसी बाहरी सामग्री जोड़ता है, और सारी जानकारी src, type जैसे attribute में दी जाती है। <pre> और <legend> container हैं, इन्हें </pre> और </legend> से बंद करना पड़ता है। post कोई HTML टैग नहीं, form भेजने का एक HTTP method है।
An empty tag has no closing tag and holds no content. <embed> is such a tag. It adds outside content such as video, audio or a plugin, and all its details go in attributes like src and type. <pre> and <legend> are container tags, closed with </pre> and </legend>. post is not an HTML tag at all; POST is an HTTP method used to send form data.
प्रश्न 6उत्तर + हल
<BASE> टैग को केवल _______ के बीच रखने के लिए बनाया गया है।
The <BASE> tag is designed to appear only between _______
A<BODY>
B<HEAD>
C<TITLE>
D<PRE>
सही उत्तर / Answer: (B)
हल / Solution
<BASE> टैग पेज के सभी relative पतों का आधार URL तय करता है। यह पेज के बारे में जानकारी (metadata) है, इसलिए इसे सिर्फ़ <HEAD> और </HEAD> के बीच रखा जाता है। एक पेज में एक ही <BASE> होना चाहिए। <BODY> में दिखने वाला content रहता है, वहाँ BASE मान्य नहीं। <TITLE> के अंदर सिर्फ़ शीर्षक का टेक्स्ट होता है। <PRE> पहले से सजे टेक्स्ट के लिए है।
The <BASE> tag sets the base URL for every relative link on a page. It is metadata about the page, so it belongs only between <HEAD> and </HEAD>. A page should have just one <BASE> tag. <BODY> holds visible content, and BASE is not valid there. <TITLE> holds only the title text. <PRE> is for preformatted text inside the body.
प्रश्न 7उत्तर + हल
इमेज के लिए सही सिंटैक्स कौन-सा है?
Which is the correct syntax for an image?
A<img src= "myImage.gif
B<img src= "myImage.gif height=100>
C<img src= "myImage.gif" >
Dउपरोक्त में से कोई नहींNone of the above
सही उत्तर / Answer: (C)
हल / Solution
<img> empty tag है और चित्र का पता src attribute में quotes के अंदर लिखा जाता है। तीसरे विकल्प में quote खुलकर बंद भी होता है और टैग > से पूरा होता है, इसलिए यही सही है। पहले विकल्प में न closing quote है, न >। दूसरे में quote बंद नहीं हुआ, इसलिए height=100 भी फ़ाइल-नाम में घुल जाता है। सही उत्तर मौजूद है, इसलिए अंतिम विकल्प ग़लत है।
<img> is an empty tag, and the image path goes inside quotes in the src attribute. Option C opens and closes the quote and ends the tag with >, so it is the correct syntax. Option A has neither a closing quote nor >. In option B the quote is never closed, so height=100 gets swallowed into the file name. Since C is valid, 'None of the above' is wrong.
प्रश्न 8उत्तर + हल
एम्प्टी एलिमेंट क्या है और क्या यह मान्य है?
What are empty elements and are they valid?
Aनहीं, एम्प्टी एलिमेंट जैसा कोई शब्द नहीं है।No, there is no such term as empty elements.
Bएम्प्टी एलिमेंट बिना डेटा वाले एलिमेंट हैं।Empty elements are elements with no data.
Cनहीं, एम्प्टी एलिमेंट का उपयोग करना मान्य नहीं है।No, it is not valid to use empty elements.
Dइनमें से कोई नहींNone of these
सही उत्तर / Answer: (B)
हल / Solution
empty element (रिक्त तत्व) वह HTML element है जिसके अंदर कोई content या डेटा नहीं होता। इसका सिर्फ़ opening टैग होता है, closing टैग नहीं। जैसे <br>, <hr>, <img> और <input>। ये HTML मानक का हिस्सा हैं और पूरी तरह मान्य हैं। इसलिए 'ऐसा कोई शब्द नहीं' ग़लत है और 'इनका उपयोग मान्य नहीं' भी ग़लत है। दूसरा विकल्प सही है, इसलिए 'इनमें से कोई नहीं' भी नहीं चलेगा।
An empty element is an HTML element that holds no content or data. It has only an opening tag and no closing tag, like <br>, <hr>, <img> and <input>. Such elements are part of the HTML standard and are fully valid. So the claim that no such term exists is wrong, and so is the claim that they are invalid. Option B is correct, so 'None of these' is wrong.
प्रश्न 9उत्तर + हल
यदि ब्राउज़र में इमेज लोड न हो पाए तो उसकी जगह टेक्स्ट दिखाने के लिए img टैग के साथ किस attribute का उपयोग किया जाता है?
Which attribute is used with the img tag to display text if the image cannot load in the browser?
Adescription
Bname
Calt
Did
सही उत्तर / Answer: (C)
हल / Solution
<img> टैग का alt attribute यही काम करता है। जैसे <img src="logo.png" alt="कंपनी का लोगो"> में फ़ाइल न मिले तो 'कंपनी का लोगो' लिखा दिख जाता है। यह screen reader और search engine के लिए भी उपयोगी है। description नाम का कोई मानक attribute <img> में नहीं है। name पुराने HTML में तत्व को नाम देता था। id तत्व को अनोखी पहचान देता है, टेक्स्ट नहीं दिखाता।
The alt attribute of <img> does this job. In <img src="logo.png" alt="Company logo">, the words 'Company logo' appear if the file cannot load. It also helps screen readers and search engines. <img> has no standard description attribute. name was used in old HTML to label elements. id gives an element a unique identity for CSS or JavaScript; it does not show any text.
प्रश्न 10उत्तर + हल
इमेज टैग में "alt" attribute (विशेषता) क्या बताता है?
In the image tag, what does the "alt" attribute specify?
Aवैकल्पिक टेक्स्टAlternative text
Bवैकल्पिक इमेजAlternative image
Cइमेज का लिंकLink of image
Dकोई नहींNone
सही उत्तर / Answer: (A)
हल / Solution
alt का पूरा अर्थ alternative text यानी वैकल्पिक टेक्स्ट है। जब चित्र किसी वजह से लोड नहीं होता, तो उसकी जगह यही टेक्स्ट दिखता है। screen reader भी इसे पढ़कर देख न पाने वाले व्यक्ति को चित्र का मतलब बताता है। alt कोई दूसरी इमेज नहीं दिखाता, सिर्फ़ टेक्स्ट देता है। चित्र का पता या लिंक src में दिया जाता है। सही उत्तर मौजूद है, इसलिए 'कोई नहीं' ग़लत है।
alt stands for alternative text. When an image fails to load, this text is shown in its place. Screen readers also read it aloud so that blind users know what the image shows. alt never shows a second image; it only supplies text. The image address or link goes in the src attribute. Since the correct answer is listed among the options, 'None' is wrong.
आगे के 12 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति