Line Break Tag Line Break टैग, या `<br>` टैग, HTML का एक inline टैग है जिसका उपयोग टेक्स्ट या सामग्री को एक लाइन से दूसरी लाइन पर ले जाने के लिए किया जाता है। जब आप `<br>` टैग का इस्तेमाल करते हैं, तो वहां जहां यह टैग होता है, वहां का टेक्स्ट या सामग्री एक नई लाइन पर आता है। यहां एक उदाहरण है: ```html <p>यह एक लाइन है।<br>यह दूसरी लाइन है।</p> ``` इस उदाहरण में, `<br>` टैग का उपयोग से "यह एक लाइन है।" और "यह दूसरी लाइन है।" को अलग-अलग लाइनों पर दिखाया जाएगा, जबकि `<p>` टैग से दोनों को एक पैराग्राफ के रूप में प्रदर्शित किया जाएगा। इस टैग का उपयोग किसी भी स्थिति में किया जा सकता है जब आपको टेक्स्ट या सामग्री को अलग लाइनों पर रखना हो, जैसे कि पता, कविता, या गाने के बोल।
Program to convert string from upper case to lower case
- Get link
- Other Apps
C Program to convert uppercase string to lowercase string
In the following C program, user would be asked to enter a String (it can be in complete uppercase or partial uppercase) and then the program would convert it into a complete(all characters in lower case) lower case string. The logic we have used in the following program is: All the upper case characters (A-Z) have ASCII value ranging from 65 to 90 and their corresponding lower case characters (a-z) have ASCII value 32 greater than them. For example ‘A‘ has a ASCII value 65 and ‘a‘ has a ASCII value 97 (65+32). Same applies for other characters.
/* C program to convert uppercase string to * lower case * written by: CICST */ #include<stdio.h> #include<string.h> int main(){ /* This array can hold a string of upto 25 * chars, if you are going to enter larger string * then increase the array size accordingly */ char str[25]; int i; printf("Enter the string: "); scanf("%s",str); for(i=0;i<=strlen(str);i++){ if(str[i]>=65&&str[i]<=90) str[i]=str[i]+32; } printf("\nLower Case String is: %s",str); return 0; }
Output:
As you can see in the output that we have entered a partial (only few chars were in upper case) upper case string and the program output was a complete lower case string.
- Get link
- Other Apps
Popular posts from this blog
What is HTML Element
What is HTML Element HTML में "एलिमेंट" (element) एक महत्वपूर्ण धारा होती है, जिसका उपयोग वेब पृष्ठ की संरचना को परिभाषित करने और सामग्री को प्रदर्शित करने के लिए किया जाता है। एक HTML एलिमेंट आमतौर पर एक खुले टैग (opening tag) और एक बंद टैग (closing tag) का संयोजन होता है, जिनमें सामग्री शामिल होती है। एक आम HTML एलिमेंट का ढंग निम्नलिखित होता है: - **खुले टैग (Opening Tag):** यह टैग होता है जिसमें एलिमेंट का नाम होता है, जैसे `<p>` (पैराग्राफ एलिमेंट) या `<h1>` (हेडिंग 1 एलिमेंट)। यह टैग एलिमेंट को प्रारंभ करता है। - **बंद टैग (Closing Tag):** यह टैग होता है जिसमें एलिमेंट का नाम होता है, परंतु इसमें एक स्लैश (/) भी शामिल होता है, जैसे `</p>` (पैराग्राफ एलिमेंट के लिए बंद टैग) या `</h1>` (हेडिंग 1 एलिमेंट के लिए बंद टैग)। यह टैग एलिमेंट को समाप्त करता है। - **सामग्री (Content):** यह टैगों के बीच की सामग्री होती है, जैसे टेक्स्ट, छवियाँ, लिंक, आदि, जो वेब पृष्ठ पर प्रदर्शित होती है। HTML एलिमेंट्स का उपयोग वेब पृष्ठ की संरचना और डिज़ाइन को परिभाषित क
O"Level Syllabus Update 2020
NIELIT O LEVEL NEW SYLLABUS 2020 VTH REVISED When will NIELIT O level new syllabus apply? The new syllabus of NIELIT "O" level will be applicable from July 2020 exam. The study of NIELIT O Level New Syllabus will begin from January 2020. How will the new syllabus of O level affect the old students? The new syllabus will not be applicable to old students yet. Students of old registration will be given 2 extra attempts (July 20, January 2021 exam). If a student is not able to clear the exam in these 2 times, then he / she will also have to take the exam from NIELIT O Level New Syllabus (Vth Revised syllabus). To download the new syllabus of NIELIT O Level, read the instruction given below. PURPOSE TO CHANGE THE SYLLABUS OF THE ‘O’ LEVEL COURSE The objective of the course is to equip a student with the necessary skills as per the following job role. i. User Interface (UI) Designer ii. Web Designer iii. Web Publication Assistant iv. Office Automation Assistan
What is WWW?
What is WWW "WWW" का अर्थ "वर्ल्ड वाइड वेब" होता है, जो इंटरनेट के माध्यम से एक एकसंगत हाइपरटेक्स्ट दस्तावेज़ की एक समूह है। इसका उपयोग वेब ब्राउज़र के माध्यम से किया जाता है जैसे कि Google Chrome, Firefox और Safari। यह एक ऐसा सिस्टम है जो इंटरनेट पर जोड़े गए हाइपरटेक्स्ट दस्तावेज़ों को एक दूसरे से जोड़ता है। "WWW" का आविष्कार सर टिम बर्नर्स-ली ने 1989 में किया था, और इससे पहले इंटरनेट पर संचार का सबसे प्रमुख माध्यम ईमेल था। "WWW" के माध्यम से हम कुछ ही क्लिक के माध्यम से किसी भी विषय पर जानकारी प्राप्त कर सकते हैं, दुनिया भर के लोगों से जुड़ सकते हैं, और ऑनलाइन वस्तुओं और सेवाओं को खरीद सकते हैं। इसका उपयोग व्यापक रूप से विभिन्न क्षेत्रों में किया जाता है, जैसे विज्ञान, तकनीक, व्यापार, वित्त, मनोरंजन और व्यक्तिगत जीवन। विश्व वाइड वेब ने समाज को बहुतायत से प्रभावित किया है और उसकी प्रभावशीलता केवल बढ़ती जा रही है। यह समाज में अनजान जगहों पर जानकारी और सूचनाओं को आसानी से पहुंचने में मदद करता है। इसके अलावा, विश्व वाइड वेब ने व्यापार को आसान बना
Comments
Post a Comment