Bootstrap Forms with Examples in Hindi
Bootstrap Forms
Forms का use website पर user से information collect करने के लिए किया जाता है। जैसे Login, Signup, Contact, Feedback, Search, Registration और किसी course या service के लिए details लेना आदि।
Bootstrap में forms को manually बहुत ज्यादा CSS लिखे बिना clean, responsive और professional बनाया जा सकता है। Bootstrap अलग-अलग form elements जैसे input, label, textarea, select, checkbox और radio button के लिए predefined classes provide करता है।
1. Basic Bootstrap Form
Basic form बनाने के लिए Bootstrap में सबसे commonly इस्तेमाल होने वाली classes .form-label और .form-control हैं।
.form-label label को proper spacing और styling देती है, जबकि .form-control input और textarea को Bootstrap का responsive form design देती है।
HTML