Which of the following is the correct syntax to include a comment in an HTML document?
Which of the following is the correct syntax to include a comment in an HTML document?
निम्नलिखित में से कौन-सा HTML डॉक्यूमेंट में कमेंट दर्ज करने के लिए सही सिंटेक्स है?
(a) /*Comment*/
(b) <!–Comment–>
(c) //
(d) //Comment//
Detailed Solution & Logic
b
HTML में कमेंट का उपयोग कोड मे नोट्स या विवरण जोड़ने या कोड के कुछ हिस्सों को अस्थायी रूप से बाहर करने के लिए किया जाता है। ब्राउजर्स इस कमेंट को देखते है लेकिन यूजर्स को यह नहीं दिखायी देता है। कमेंट को लिखने के लिए निम्न सिंटैक्स का उपयोग कर सकते हैं।
1. सिंगल लाइन कमेंट -<!-- सिंगल लाइन कमेंट
2. मल्टीलाइन कमेंट -
<!-
यह एक मल्टीलाइन कमेंट है।
Similar Practice Questions
Identify the wrong statements about”Cookies”?
Identify the wrong statements about “Cookies”? “कुकीज” के बारे में गलत कथनों की पहचान करें?
What is generally used by a web client to view the web page?
What is generally used by a web client to view the web page? वेब पेज...
Which of the following is NOT a text editor?
Which of the following is NOT a text editor? निम्नलिखित में से कौन-सा Text Editor...
Which statement is not true for the headings in W3.Font?
Which statement is not true for the headings in W3.Font? W3.Font में हेडिंग्स के लिए...
What will be the output of the following JavaScript code?
What will be the output of the following JavaScript code? निम्नलिखित जावास्क्रिप्ट कोड का आउटपुट...
What is required to create HTML document- / HTML दस्तावेज़ बनाने के…
What is required to create HTML document- HTML दस्तावेज़ बनाने के लिए क्या आवश्यक है-
Which of the following is the correct option for the requirement of web publishing?
Which of the following is the correct option for the requirement of web publishing? वेब...