पहले 10 प्रश्नों के उत्तर और हल यहीं खुले हैं; बाक़ी 20 के उत्तर और हल FliQi Question Bank app में।
भाषा
प्रश्न 1उत्तर + हल
फ़ॉन्ट का रंग बदलने के लिए उपयुक्त कथन कौन-सा है?
Which statement is suitable for changing the font colour?
A<Font Color = "RED">
B<Font Color SRC = "RED">
C<color = Font = "RED">
D</Font> <Color = "RED">
सही उत्तर / Answer: (A)
हल / Solution
टैग लिखने का नियम है: पहले टैग का नाम, फिर attribute, फिर बराबर का चिह्न और उद्धरण में मान। <Font Color = "RED"> इसी नियम से लिखा है, इसलिए यह टेक्स्ट को लाल कर देगा। दूसरे विकल्प में SRC बेवजह जुड़ा है। तीसरे में टैग का नाम ही color रख दिया गया है। चौथे में पहले बंद करने वाला टैग आ गया है। HTML5 में यह काम CSS के color से किया जाता है।
The rule for writing a tag is: the tag name first, then the attribute, then an equals sign and the value in quotes. <Font Color = "RED"> follows this rule, so it turns the text red. In the second option, SRC is added for no reason. In the third, color is used as the tag name. In the fourth, a closing tag comes first. In HTML5, this is done with the CSS color property.
प्रश्न 2उत्तर + हल
निम्नलिखित में से कौन-सा फ़ॉन्ट टैग का attribute नहीं है?
Which of the following is not an attribute of the font tag?
ASize
BColor
CFace
DValue
सही उत्तर / Answer: (D)
हल / Solution
<FONT> टैग के तीन attributes हैं। SIZE अक्षरों का आकार बताता है, COLOR उनका रंग और FACE फ़ॉन्ट का नाम, जैसे Arial। HTML5 में <FONT> अप्रचलित है और यह काम CSS से होता है, पर प्रश्न इसी टैग के बारे में है। VALUE फ़ॉन्ट का attribute नहीं है। यह <input>, <option> और <li> जैसे टैग में लगता है। इसलिए उत्तर Value है।
The <FONT> tag has three attributes. SIZE sets the size of the letters, COLOR sets their colour and FACE names the font, such as Arial. In HTML5 <FONT> is obsolete and CSS does this job, but the question is about this tag itself. VALUE is not a font attribute. It is used in tags such as <input>, <option> and <li>. So the answer is Value.
प्रश्न 3उत्तर + हल
102 को सही प्रदर्शित करने के लिए उपयुक्त कोड कौन-सा है?
Which code correctly displays 102?
A10 <SUP>2</SUP>
B<SUP>10</SUP>2
C<SUP 10>2</SUP>
DSUP <10></SUP>2
सही उत्तर / Answer: (A)
हल / Solution
102 में आधार 10 सामान्य पंक्ति पर है और घात 2 ऊपर उठा है। <SUP> टैग सिर्फ़ उसी टेक्स्ट को ऊपर उठाता है जो उसके बीच हो। इसलिए 10 बाहर और 2 को <SUP>...</SUP> के बीच रखना होगा। यही पहले विकल्प में है। दूसरे विकल्प में 10 ऊपर उठ जाएगा और 2 नीचे रहेगा। तीसरे और चौथे विकल्प में टैग ही ग़लत ढंग से लिखे गए हैं।
In 102, the base 10 stays on the normal line and the power 2 is raised. The <SUP> tag raises only the text placed inside it. So 10 must stay outside and 2 must go between <SUP> and </SUP>, as in the first option. In the second option, 10 would be raised and 2 would stay on the line. In the third and fourth options, the tags are written wrongly.
प्रश्न 4उत्तर + हल
निम्नलिखित में से कौन-सा फ़ॉर्मेटिंग टैग नहीं है?
Which of the following is not a formatting tag?
A<BIG>
B<SUP>
C<SUB>
D<BOLD>
सही उत्तर / Answer: (D)
हल / Solution
<BIG> टेक्स्ट को थोड़ा बड़ा दिखाता था। HTML5 में यह अप्रचलित है, पर यह फ़ॉर्मेटिंग टैग ही था। <SUP> टेक्स्ट को ऊपर उठाता है और <SUB> नीचे करता है। ये भी फ़ॉर्मेटिंग टैग हैं। <BOLD> नाम का कोई टैग HTML में है ही नहीं। टेक्स्ट को बोल्ड करने के लिए <B> या <STRONG> लगाया जाता है। पूरा शब्द BOLD लिखना आम भूल है। इसलिए उत्तर <BOLD> है।
The <BIG> tag showed text slightly larger. It is obsolete in HTML5, but it was a formatting tag. The <SUP> tag raises text and <SUB> lowers it, so they are formatting tags too. There is no tag named <BOLD> in HTML. Bold text uses <B> or <STRONG>. Writing the full word BOLD is a common mistake. So the answer is <BOLD>.
प्रश्न 5उत्तर + हल
निम्नलिखित में से कौन-सा <HR> टैग का attribute नहीं है?
Which of the following is not an attribute of the <HR> tag?
AWIDTH
BALIGN
CSIZE
DSRC
सही उत्तर / Answer: (D)
हल / Solution
<HR> टैग आड़ी रेखा खींचता है। इसके पुराने attributes रेखा का रूप तय करते हैं। WIDTH रेखा की लंबाई बताता है, SIZE उसकी मोटाई और ALIGN यह कि रेखा बाईं ओर, बीच में या दाईं ओर रहे। HTML5 में इनकी जगह CSS सुझाई जाती है, पर ये HR के ही attributes हैं। SRC किसी बाहरी फ़ाइल का पता देता है और <img> जैसे टैग में लगता है। रेखा को फ़ाइल नहीं चाहिए, इसलिए उत्तर SRC है।
The <HR> tag draws a horizontal line, and its older attributes decide how the line looks. WIDTH sets the length, SIZE sets the thickness, and ALIGN places the line on the left, centre or right. HTML5 suggests CSS in their place, but they are still HR attributes. SRC gives the path of an external file and is used in tags such as <img>. A line needs no file, so the answer is SRC.
प्रश्न 6उत्तर + हल
निम्न में से कौन-सा <HR> टैग के बारे में सही नहीं है?
Which of the following is not true about the <HR> tag?
Aसामग्री के अलग-अलग भागों को अलग करने के लिए हॉरिज़ॉन्टल रूल का उपयोग किया जाता है।A horizontal rule is used to separate different parts of the content.
Bयह पेज पर एक आड़ी रेखा (हॉरिज़ॉन्टल लाइन) के रूप में दिखाई देता है।It appears on the page as a horizontal line.
Cइसे कोड में <HR> टैग से लिखा जाता है।It is written in code with the <HR> tag.
D<HR> टैग का एक TEXT attribute होता है।The <HR> tag has a TEXT attribute.
सही उत्तर / Answer: (D)
हल / Solution
<HR> पेज पर एक आड़ी रेखा खींचता है, जो सामग्री के दो हिस्सों को अलग करती है। इसलिए पहला और दूसरा कथन सही है। कोड में इसे <HR> लिखकर ही लगाया जाता है, इसलिए तीसरा भी सही है। <HR> के पुराने attributes WIDTH, SIZE, ALIGN, COLOR और NOSHADE हैं। इसमें TEXT नाम का कोई attribute नहीं है। TEXT तो <BODY> का attribute है। इसलिए चौथा कथन सही नहीं है।
The <HR> tag draws a horizontal line that separates two parts of the content. So the first and second statements are true. In code it is placed by writing <HR>, so the third is also true. The older attributes of <HR> are WIDTH, SIZE, ALIGN, COLOR and NOSHADE. It has no attribute named TEXT. TEXT is an attribute of <BODY>. So the fourth statement is not true.
प्रश्न 7उत्तर + हल
HTML में हेडिंग टैग के बारे में असत्य कथन कौन-सा है?
Which statement about the heading tags in HTML is false?
Aहेडिंग टैग से 6 स्तर दर्शाए जा सकते हैं।Up to 6 levels can be shown with heading tags.
Bहेडिंग का स्तर बदलते ही फ़ॉन्ट का आकार अपने आप बदल जाता है, और इसके पहले व बाद में पैराग्राफ ब्रेक आ जाता है।The font size changes automatically as the heading level changes, and a paragraph break comes before and after it.
C<H1> से <H6> तक हेडिंग एलिमेंट हैं।<H1> to <H6> are the heading elements.
D<H6> सबसे बड़ा हेडिंग स्तर है।<H6> is the largest heading level.
सही उत्तर / Answer: (D)
हल / Solution
HTML में हेडिंग के छह स्तर हैं, <H1> से <H6> तक। इसलिए पहला और तीसरा कथन सही है। हर स्तर का आकार अलग होता है, और हेडिंग ब्लॉक एलिमेंट है, इसलिए उसके पहले और बाद में अपने आप जगह आ जाती है। यानी दूसरा कथन भी सही है। चौथा कथन उलटा है। <H1> सबसे बड़ी हेडिंग है और <H6> सबसे छोटी। इसलिए असत्य कथन चौथा है।
HTML has six heading levels, from <H1> to <H6>, so the first and third statements are true. Each level has a different size, and a heading is a block element, so space comes before and after it on its own. So the second statement is also true. The fourth statement is the reverse of the truth. <H1> is the largest heading and <H6> is the smallest. So the fourth statement is false.
प्रश्न 8उत्तर + हल
HTML में पैराग्राफ शुरू करने के लिए ----- टैग का उपयोग किया जाता है।
Which tag is used to start a paragraph in HTML?
A<Paragraph>
B<P>
C<Para>
D<Paragra>
सही उत्तर / Answer: (B)
हल / Solution
पैराग्राफ के लिए HTML में छोटा-सा टैग <P> है। पैराग्राफ <P> से शुरू होकर </P> पर ख़त्म होता है। HTML टैग के नाम में बड़े-छोटे अक्षर का फ़र्क़ नहीं पड़ता, इसलिए <P> और <p> एक ही हैं। <Paragraph>, <Para> और <Paragra> देखने में सही लगते हैं, पर इनमें से कोई भी HTML का टैग नहीं है। इसलिए सही उत्तर <P> है।
HTML uses the short tag <P> to mark a paragraph of text. A paragraph starts with <P> and ends with </P>. HTML tag names are not case sensitive, so <P> and <p> are the same. The options <Paragraph>, <Para> and <Paragra> may look right, but none of them is an HTML tag. So the answer is <P>.
प्रश्न 9उत्तर + हल
HTML में पैराग्राफ का डिफ़ॉल्ट संरेखण (alignment) क्या होता है?
What is the default alignment of a paragraph in HTML?
Aदाईं ओर (Right)Right
Bबाईं ओर (Left)Left
Cबीच में (Center)Center
Dइनमें से कोई नहींNone of these
सही उत्तर / Answer: (B)
हल / Solution
अगर हम कोई संरेखण न लिखें, तो ब्राउज़र पैराग्राफ को बाईं ओर से शुरू करता है। अंग्रेज़ी और हिंदी जैसी भाषाएँ बाएँ से दाएँ लिखी जाती हैं, इसलिए डिफ़ॉल्ट left रहता है। दाईं ओर या बीच में लाने के लिए अलग से text-align: right या center लिखना पड़ता है। ध्यान दीजिए, अरबी जैसी दाएँ से बाएँ लिखी जाने वाली भाषाओं में यह दाईं ओर होता है। सामान्य पेज में उत्तर Left है।
If we do not set any alignment, the browser starts a paragraph from the left side. Languages like English and Hindi are written from left to right, so the default is left. To move it to the right or the centre, we must write text-align: right or center separately. Note that in right-to-left languages such as Arabic, it starts from the right. For a normal page, the answer is Left.
प्रश्न 10उत्तर + हल
निम्नलिखित में से कौन-सा टैग फ़ॉर्मेटिंग टैगों की सूची में नहीं आता?
Which of the following tags is not in the list of formatting tags?
A<SUB>
B<SUP>
C<B>
D<A>
सही उत्तर / Answer: (D)
हल / Solution
फ़ॉर्मेटिंग टैग टेक्स्ट की दिखावट बदलते हैं। <SUB> टेक्स्ट को नीचे की ओर छोटा करता है, जैसे H₂O में 2। <SUP> उसे ऊपर उठाता है, जैसे x² में 2। <B> टेक्स्ट को बोल्ड करता है। तीनों फ़ॉर्मेटिंग टैग हैं। <A> यानी anchor टैग दूसरे पेज या उसी पेज के किसी हिस्से का लिंक बनाता है। यह दिखावट नहीं बदलता, इसलिए यह फ़ॉर्मेटिंग टैग नहीं है।
Formatting tags change how text looks. The <SUB> tag lowers text and makes it small, like the 2 in H₂O. The <SUP> tag raises it, like the 2 in x². The <B> tag makes text bold. All three are formatting tags. The <A>, or anchor, tag creates a link to another page or to a part of the same page. It does not change the look, so it is not a formatting tag.
आगे के 20 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति