HTML Form Input Elements in Hindi

Search Posts
1679686582-Default_image_for_courses.jpg

HTML Form Input Elements in Hindi


HTML Form Elements in Hindi - Form create करने के लिए इस element का सबसे ज्यादा उपयोग किया जाता है क्यों कि इसका उपयोग कर के आप बहुत तरह की input field बना सकते हैं। इसकी मदद से आप text box, radio button, checkbox, submit button आदि बना सकते हैं। input element को इसके attributes की मदद से अलग अलग तरह से display कर सकते हैं। इसको समझने से पहले <label> element को समझते हैं।


HTML Form <label> Elements in Hindi -

HTML में इस form element का उपयोग अन्य elements को define करने में किया जाता है। जैसे अगर आपने नाम भरने के लिए एक text box बनाया है तो यूजर को कैसे पता चलेगा की उस text box में नाम भरना है इसके लिए उस text box के आगे इस <label> tag की सहायता से बताते हैं कि text box में कौन से इनफार्मेशन fill करना है।

ध्यान रहे कि जिस input field या element के लिए आप label tag का उपयोग कर रहे हैं हमेशा उसका label उसी element के साथ लिखें।


HTML Input Elements के types -

<input type="button">
<input type="checkbox">
<input type="color">
<input type="date">
<input type="datetime-local">
<input type="email">
<input type="file">
<input type="hidden">
<input type="image">
<input type="month">
<input type="number">
<input type="password">
<input type="radio">
<input type="range">
<input type="reset">
<input type="search">
<input type="submit">
<input type="tel">
<input type="text"> (default value)
<input type="time">
<input type="url">
<input type="week">


<input type="text">

यूजर से सिंपल text input लेने के लिए।

<input type="button">

इसके उपयोग से एक button create होता है जिससे आप कोई एक्शन परफॉर्म करा सकते हैं।

<input type="password">

इसका उपयोग यूजर से पासवर्ड input के लिए करते हैं इसमें जब text enter करते हैं तब ये dotted के या star के रूप में दिखाई देते हैं।

<input type="checkbox">

ये multiple options में से एक या एक से ज्यादा options select करने के लिए use किया जाता है।

<input type="radio">

Radio button का उपयोग multiple options में से किसी एक को select करने के लिए इसका use करते हैं।

<input type="email">

यूजर से email enter कराने के लिए इसका use करते हैं यह input field सिर्फ email id को ही एक्सेप्ट करती है।

<input type="color">

color इनपुट कराने के लिए इसे use करते हैं इससे आपको एक option मिलता है जिसमें से आप कोई भी color select करा सकते हैं।

<input type="date">

यूजर से Date enter कराने के लिए इसका use करते हैं। इसमें यूजर को एक कैलेंडर से Day, Month और Year select करने का option देते हैं।

<input type="datetime-local">

इसमें Day, Month और Year के साथ साथ time का भी option होता है।

<input type="file">

यूजर से कोई फाइल upload कराने के लिए इस input field का use करते हैं।

<input type="hidden">

इसका use form के साथ किसी डाटा को लेने के लिए करते हैं इसमें यूजर को ये डाटा दिखाई नहीं देता पर ये form submit होने के साथ ही डेटाबेस में स्टोर हो जाता है।

<input type="image">

इसके help से submit button की जगह किसी को image या icon को लगा सकते हैं।

<input type="month">

इस input field में month और year, select करने का option होता है।

<input type="number">

इस input field की help से आप यूजर से कोई number enter करा सकते हैं और साथ ही इसके attributes (min और max ) की मदद से एक fix range दे सकते हैं।

<input type="range">

ये किसी fix range (min और max) में एक slider से value लेने के लिए use होती है।

<input type="reset">

इससे एक button बनता है जिसका use फॉर्म में भरी हुईं fields को reset करने के लिए किया जाता है।

<input type="search">

search field बनाने के लिए। ये field नार्मल text field की तरह ही होती है।

<input type="submit">

Form Submit करने के लिए button बनाने के लिए इसका use करते हैं।

<input type="tel">

यूजर से टेलीफोन नंबर enter कराने के लिए।

<input type="time">

यूजर से time इनपुट कराने के लिए।

<input type="url">

किसी website का URL enter कराने के लिए।

<input type="week">

सप्ताह enter कराने के लिए।


एक Example की सहायता से इन सभी Input Elements को समझते हैं। आप इस Example को run करने के बाद HTML code में बदलाव कर के practice कर सकते हैं। इसके अगले chapter में हम input elements के attributes जानेंगे।

PHP" method="POST" target="_blank">

Example of HTML Input Element in Hindi


इनको अच्छे से समझने के लिए editor पर इनमे changes कर के practice जरूर करें।

Author : Read Rife

You May Also Like



Leave a Comment

Please enter your name.
Please enter a valid email.
Please enter your comment.

Comments