FliQi Education App Download
प्रश्न-बैंक · Web Technology

Structure of HTML & Web Browser — प्रश्न और उत्तर

Web Technology · 33 जाँचे हुए (verified) प्रश्न

  • 33 जाँचे हुए प्रश्न
  • हिंदी + English

पहले 10 प्रश्नों के उत्तर और हल यहीं खुले हैं; बाक़ी 20 के उत्तर और हल FliQi Question Bank app में।

भाषा
प्रश्न 1उत्तर + हल
HTML दस्तावेज़ की शुरुआत में doctype का उपयोग क्यों किया जाता है?
Why is the doctype used at the start of an HTML document?
  1. Aब्राउज़र दस्तावेज़ को quirks mode में पाता हैBrowser finds the document in quirky mode
  2. Bब्राउज़र दस्तावेज़ को standard mode में पाता हैBrowser finds a document in standard mode
  3. Cब्राउज़र काम करना बंद कर देता हैBrowser stops working
  4. Dपेज दिखाने के बाद ब्राउज़र crash हो जाता हैBrowser crashes after showing the page

सही उत्तर / Answer: (B)

हल / Solution
पेज की पहली पंक्ति में doctype लिखने से ब्राउज़र समझ जाता है कि पेज आज के HTML मानक से बना है। तब वह पेज को standards mode में दिखाता है और हर ब्राउज़र में layout एक जैसा बनता है। Doctype न हो तो ब्राउज़र quirks mode में चला जाता है और पुराने ब्राउज़रों की नक़ल करता है। Doctype के होने या न होने से ब्राउज़र न रुकता है, न crash होता है। इसलिए सही उत्तर विकल्प 2 है।
A doctype on the first line tells the browser that the page follows the current HTML standard. The browser then shows the page in standards mode, so the layout comes out the same in every browser. Without a doctype, the browser falls back to quirks mode and copies the habits of old browsers. A doctype, present or missing, never makes the browser stop or crash. So the answer is standard mode.
प्रश्न 2उत्तर + हल
निम्नलिखित में से कौन HTML दस्तावेज़ के लिए घोषणा (declaration) है?
Which of the following is a declaration for an HTML document?
  1. A<html>…</html>
  2. B<!DOCTYPE html>
  3. C<body>…</body>
  4. D<p>…</p>

सही उत्तर / Answer: (B)

हल / Solution
<!DOCTYPE html> एक घोषणा है, कोई टैग या एलिमेंट नहीं। यह फ़ाइल की सबसे पहली पंक्ति में लिखी जाती है और ब्राउज़र को बताती है कि दस्तावेज़ किस HTML मानक में है। इससे ब्राउज़र पेज को standards mode में दिखाता है। <html> पूरे पेज का root एलिमेंट है। <body> दिखने वाली सामग्री रखता है। <p> एक paragraph है। इसलिए सही उत्तर विकल्प 2 है।
<!DOCTYPE html> is a declaration, not a tag or an element. It is written on the very first line of the file and tells the browser which HTML standard the document follows, so the page is shown in standards mode. The <html> element is the root of the page. The <body> holds the visible content. The <p> element is a paragraph. So the answer is option 2.
प्रश्न 3उत्तर + हल
अगर बैकग्राउंड इमेज स्क्रीन से छोटी हो, तो क्या होगा?
If the background image is smaller than the screen, what will happen?
  1. Aवह खिंचकर फैल जाएगीIt will be stretched
  2. Bपेज के नीचे खाली जगह छूट जाएगीIt will leave a blank space at the bottom of the page
  3. Cपेज के ऊपर खाली जगह छूट जाएगीIt will leave a blank space at the top of the page
  4. Dवह दोहराई जाएगीIt will be repeated

सही उत्तर / Answer: (D)

हल / Solution
ब्राउज़र का default नियम है कि छोटी बैकग्राउंड इमेज को बार-बार दोहराया जाता है। इमेज दाएँ और नीचे की ओर tile की तरह तब तक लगती रहती है, जब तक पूरी जगह भर न जाए। CSS में background-repeat का default मान repeat ही है। इमेज अपने आप नहीं खिंचती, उसके लिए background-size लगाना पड़ता है। दोहराव के कारण ऊपर या नीचे खाली जगह भी नहीं छूटती। इसलिए सही उत्तर विकल्प 4 है।
By default, the browser repeats a small background image. The image is laid like tiles to the right and downward until the whole area is filled. In CSS this is the default value repeat of background-repeat. The image does not stretch by itself; that needs background-size. Because of the repeating, no blank space is left at the top or bottom either. So the answer is that it will be repeated.
प्रश्न 4उत्तर + हल
बैकग्राउंड कलर जोड़ने के लिए सही HTML टैग कौन-सा है?
What is the correct HTML tag for adding a background color?
  1. A<body color="Yellow">
  2. B<body bgcolor="Yellow">
  3. C<body background="Yellow">
  4. D<body bg="Yellow">

सही उत्तर / Answer: (B)

हल / Solution
HTML में body का बैकग्राउंड रंग bgcolor attribute से दिया जाता है, जैसे <body bgcolor="Yellow">। इससे पूरा पेज पीला हो जाता है। body पर color attribute से बैकग्राउंड नहीं बदलता। background attribute image फ़ाइल का पता लेता है, रंग नहीं। bg नाम का कोई attribute है ही नहीं। आज यही काम CSS की background-color property से भी होता है। इसलिए सही उत्तर विकल्प 2 है।
In HTML the background color of the body is set with the bgcolor attribute, as in <body bgcolor="Yellow">, which turns the whole page yellow. A color attribute on the body does not change the background. The background attribute takes an image file, not a color. There is no attribute called bg. Today the same job is done with the CSS background-color property. So the answer is option 2.
प्रश्न 5उत्तर + हल
HTML दस्तावेज़ के दो मुख्य भाग कौन-से हैं?
What are the two main parts of an HTML document?
  1. ATitle और BodyTitle and Body
  2. BHead और TitleHead and Title
  3. CHead और BodyHead and Body
  4. DHead और DocumentHead and Document

सही उत्तर / Answer: (C)

हल / Solution
HTML दस्तावेज़ के <html> टैग के अंदर दो मुख्य भाग होते हैं। <head> में title, meta और CSS जैसी जानकारी रहती है, जो पेज पर सीधे नहीं दिखती। <body> में वह सब रहता है जो पाठक को दिखता है। Title कोई अलग भाग नहीं, वह head के अंदर का एक टैग है। Document पूरे दस्तावेज़ को कहते हैं, उसके किसी भाग को नहीं। इसलिए सही उत्तर Head और Body है।
Inside the <html> tag, an HTML document has two main parts. The <head> holds the title, meta and CSS information, which is not shown directly on the page. The <body> holds everything the reader sees. The title is not a separate part; it is one tag inside the head. Document is the name of the whole file, not one of its parts. So the answer is head and body.
प्रश्न 6उत्तर + हल
पेज का बैकग्राउंड हरा करने के लिए BODY टैग के साथ कौन-सा attribute लगाया जा सकता है?
Which attribute can be used with the BODY tag to set the background color green?
  1. Abackground="green"
  2. Bbgcolor="green"
  3. Cvlink="green"
  4. Dइनमें से कोई नहींNone of the above

सही उत्तर / Answer: (B)

हल / Solution
body टैग पर बैकग्राउंड का रंग bgcolor attribute से दिया जाता है, जैसे <body bgcolor="green">। इससे पूरा पेज हरा हो जाता है। body का background attribute रंग नहीं, किसी image फ़ाइल का पता लेता है। vlink उन link का रंग तय करता है जिन पर पहले क्लिक हो चुका है। bgcolor आज पुराना माना जाता है और नए पेजों में CSS लगती है, फिर भी सभी ब्राउज़र इसे मानते हैं। इसलिए सही उत्तर bgcolor है।
A background color is given to the body with the bgcolor attribute, as in <body bgcolor="green">, which turns the whole page green. The background attribute of the body takes an image file, not a color. The vlink attribute sets the color of links that have already been visited. Today bgcolor is old style and new pages use CSS, but every browser still supports it. So the answer is bgcolor.
प्रश्न 7उत्तर + हल
यूनिफ़ॉर्म रिसोर्स लोकेटर (URL) किसका संदर्भ है?
A Uniform Resource Locator (URL) is a reference to a
  1. Aकंप्यूटर रिसोर्सComputer resource
  2. Bऐसा वेब रिसोर्स जो कंप्यूटर नेटवर्क पर अपना स्थान और उसे प्राप्त करने का तरीक़ा बताता हैWeb resource that specifies its location on a computer network and a mechanism for retrieving it
  3. Cनेटवर्क पर प्रिंटरPrinter on the network
  4. Dनेटवर्क पर स्टोरेज सर्वरStorage server on the network

सही उत्तर / Answer: (B)

हल / Solution
URL किसी web resource का पता है, जैसे कोई पेज, चित्र या फ़ाइल। यह दो बातें बताता है। पहली, resource नेटवर्क पर कहाँ है, यानी domain और path। दूसरी, उसे किस तरीक़े से लाना है, यानी http, https या ftp जैसा protocol। Computer resource बहुत ढीला शब्द है, RAM या processor का कोई URL नहीं होता। प्रिंटर और storage server अपने आप में URL का अर्थ नहीं हैं। इसलिए सही उत्तर विकल्प 2 है।
A URL is the address of a web resource such as a page, an image or a file. It tells two things. First, where the resource is on the network, through the domain and path. Second, how to fetch it, through a protocol such as http, https or ftp. Computer resource is too loose, since RAM or a processor has no URL. A printer or a storage server is not what a URL means. So the answer is option 2.
प्रश्न 8उत्तर + हल
वेब पेज किसमें स्टोर रहते हैं?
Web pages are stored on
  1. Aक्लाइंट (Client)Client
  2. Bसर्वर (Server)Server
  3. Cमॉडेम (Modem)Modem
  4. Dराउटर (Router)Router

सही उत्तर / Answer: (B)

हल / Solution
वेबसाइट के पेज एक web server पर रखे जाते हैं। यह कंप्यूटर हर समय इंटरनेट से जुड़ा रहता है। जब आप ब्राउज़र में URL लिखते हैं, तो ब्राउज़र यानी client उस server से पेज माँगता है और server उसे भेज देता है। client पेज दिखाता है, उसे स्थायी रूप से नहीं रखता। Modem और router सिर्फ़ इंटरनेट का संपर्क और data का रास्ता सँभालते हैं। इसलिए सही उत्तर सर्वर है।
The pages of a website are kept on a web server, a computer that stays connected to the Internet all the time. When you type a URL, the browser, which is the client, asks that server for the page and the server sends it. The client only displays the page and does not keep it for good. A modem and a router only handle the connection and the path of data. So the answer is server.
प्रश्न 9उत्तर + हल
HTML में M का अर्थ है
The M in HTML stands for
  1. AMachine
  2. BMark up
  3. CModeling
  4. DMargin

सही उत्तर / Answer: (B)

हल / Solution
HTML का पूरा रूप HyperText Markup Language है, इसलिए M का अर्थ Markup है। Markup का मतलब है text के चारों ओर टैग लगाकर बताना कि वह heading है, paragraph है या link। HTML मशीन की भाषा नहीं है, ब्राउज़र इसे पढ़कर पेज बनाता है। Modeling का HTML से कोई लेना-देना नहीं। Margin CSS की property है, जो किनारे की खाली जगह तय करती है। इसलिए सही उत्तर Mark up है।
HTML stands for HyperText Markup Language, so the M means markup. Markup means putting tags around text to say whether it is a heading, a paragraph or a link. HTML is not a machine language; the browser reads it and builds the page. Modeling has nothing to do with HTML. Margin is a CSS property that sets the empty space around an element. So the answer is mark up.
प्रश्न 10उत्तर + हल
HTML5 में डिफ़ॉल्ट कैरेक्टर सेट कौन-सा है?
The default character set in HTML5 is
  1. AUTF-1
  2. BUTF-4
  3. CUTF-8
  4. DUTF-12

सही उत्तर / Answer: (C)

हल / Solution
HTML5 में UTF-8 को मानक character set माना जाता है। इसे <head> में <meta charset="UTF-8"> से लिखा जाता है। UTF-8 में दुनिया की लगभग हर लिपि आ जाती है, हिंदी भी। पहले HTML4 में ISO-8859-1 आम था। Unicode के मुख्य रूप UTF-8, UTF-16 और UTF-32 हैं। UTF-4 और UTF-12 कोई मानक encoding नहीं हैं। UTF-1 पुराना रूप था जो अब चलन में नहीं। इसलिए सही उत्तर UTF-8 है।
HTML5 treats UTF-8 as its standard character set. It is declared in the <head> with <meta charset="UTF-8">. UTF-8 covers almost every script in the world, including Hindi. Older HTML4 pages often used ISO-8859-1. The main Unicode forms are UTF-8, UTF-16 and UTF-32. UTF-4 and UTF-12 are not standard encodings, and UTF-1 is an old form no longer used. So the answer is UTF-8.
आगे के 20 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति
App खोलिए
प्रश्न 13उत्तर app में
मार्कअप टैग वेब ब्राउज़र को बताते हैं
Markup tags tell the web browser
  1. Aपेज को कैसे व्यवस्थित करेंHow to organise the page
  2. Bपेज को कैसे दिखाएँ (display करें)How to display the page
  3. Cपेज पर message box कैसे दिखाएँHow to display message box on page
  4. Dइनमें से कोई नहींNone of these
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 14उत्तर app में
HTML5 में दस्तावेज़ का प्रकार बताने के लिए निम्नलिखित में से किसका प्रयोग किया जाता है?
In HTML5, which of the following tags is used to initialize the document type?
  1. A<Doctype HTML>
  2. B<\Doctype html>
  3. C<Doctype>
  4. D<!DOCTYPE html>
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 15उत्तर app में
HTML किस प्रकार के टैग का उपयोग करता है?
HTML uses
  1. Aऐसे टैग जिन्हें उपयोग से पहले compile करना पड़ता हैTags that must be compiled before use
  2. Bउपयोगकर्ता द्वारा बनाए गए (user defined) टैगUser defined tags
  3. Cपहले से तय (pre-specified) टैगPre-specified tags
  4. Dसिर्फ़ linking के लिए टैगTags only for linking
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 18उत्तर app में
अगर आप वर्ड प्रोसेसर में HTML पेज बनाते हैं, तो
If you create an HTML page in a word processor,
  1. Aउसे WMF फ़ाइल के रूप में save करेंsave it with WMF file
  2. Bउसे binary फ़ाइल के रूप में save करेंsave it with binary file
  3. Cउसे ASCII text फ़ाइल के रूप में save करेंsave it with ASCII text file
  4. Dइनमें से कोई नहींNone of the above
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 20उत्तर app में
HTML के सभी टैग
The HTML tags are all
  1. Aबड़े अक्षरों (upper case) में होते हैंin upper case
  2. Bछोटे अक्षरों (lower case) में होते हैंin lower case
  3. Ccase sensitive नहीं होतेnot case sensitive
  4. Dइनमें से कोई नहींNone of the above
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 22उत्तर app में
अपने वेब पेज पर सादे रंग का बैकग्राउंड जोड़ने के लिए निम्नलिखित में से किसका उपयोग करें?
To add a plain color background to your web page, use which of the following?
  1. A<body bgcolor= "#FF000">
  2. B<body bhcolor="36,24,35">
  3. C<body color="#FF000">
  4. Dइनमें से कोई नहींNone of the above
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 23उत्तर app में
बैकग्राउंड इमेज लगाने के लिए सही HTML कोड क्या है?
What is the correct HTML code for inserting a background image?
  1. A<img src="background.gif" background />
  2. B<body background="background.gif">
  3. C<background image="background.gif">
  4. Dइनमें से कोई नहींNone of the above
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 28उत्तर app में
वेब पेज पर सीधे दिखने वाले text और टैग किस सेक्शन में रखे जाते हैं?
Which section is used for text and tags that are shown directly on your web page?
  1. Aमेटा टैग (Metatags)Metatags
  2. BHead
  3. CBody
  4. Dइनमें से कोई नहींNone of the above
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 29उत्तर app में
निम्नलिखित में से कौन <head> सेक्शन में नहीं मिलेगा?
Which of the following will NOT be found in the <head> section?
  1. Aमेटा टैग (Metatags)Metatags
  2. Bशीर्षक (Title)Title
  3. Cतालिका (Table)Table
  4. Dइनमें से कोई नहींNone of the above
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
Structure of HTML & Web Browser के सभी 33 प्रश्न — उत्तर, हल और अभ्यास

FliQi Question Bank app में topic-वार अभ्यास, कठिनाई-स्तर और आपकी प्रगति।

  • पहला test मुफ़्त
  • हिंदी + English
  • जाँचे हुए उत्तर और हल

यह topic किन परीक्षाओं में आता है

Web Technology के दूसरे topics

सभी topics