what is html form tag and its uses with example in hindi

Hello Friends,
Aaj Hum HTML form kya hota hai and kaise use kar sakte hai sikhne wale hai....


What is HTML form?

  • HTML form means jab hum koi bhi form create karte hai jaise ki login form , SignUp form etc.
  • to yaha per HTML me input forms hote hai jisme hum many type of data store karte hai.
  • yaha par store karne ka matlab yaha nai hai ki hum database me store kar liye .
  • HTML form ak tag isko hum form tag bolte hai.
  • HTML forms ka use karke hum apne data ko enter karte hai, ye data different types ka hota hai.
  • jaise input form ka use karte hai text ko enter karane ke liye and radio button, check box textarea , select box, dropdown list etc.

Ap jan gaye hone ki HTML form kya hota hai.

Kyo use karte hai hum HTML forms ko ( Why )

  • HTML form ka use data ko enter karane ke liye kiya jata hai jisse hum us data ko store kar sake.(example database me store karte h like localstorage , mysql , mangodb etc.)
  • And Humara different task ko perform kar sake.

Hum yaha ak ak karke forms ko create karenge

forms

  • input form - isme hum text , number , email enter karate hai. example: name,contact number email,title,age etc.   
  • redio box/button  - isme hum only one button ko hi select karte hai. example: gender
  • select box - isme hum dropdown list me se option select kar sakte hai example: any dropdown list box
  • check box - isme hum multiple option check(select) kar sakte hai example: our hobbies 
  • button: - form submit karne ke liye hum button ka use karte hai.

Now Coding example:


input form -
  • <input type='text' name='student_name' id="student_name />

uper ap dekh sakte hai input type="text" liye hai yaha par hum email and number bhi le sakte hai.

  • <input type='email' name='email' id="email />
  • <input type='number' name='contact' id="contact />
  • <input type='password' name='password' id='password' />

Uper jo format likha gaya hai ye sabse best format hai yaha par sabse pahale input type liye hai and field ka name diye hai and id bhi define kiye hai.

Ap jab bhi code likhenge to isi format ka use kar sakte hai kyoki database jab use karenge to id ans name ka jarurat hota hai.


Check box:
         cricket<input type='checkbox'/>
Radio button:
         male<input type='radio"/>
select box:
          <select>
         <option value='bca'>BCA</option>
         <option value='mca'>MCA</option>
         </select>
button:
         <input type='button' value='Button' />



Yaha uper  hum dekh sabse pahale input form me humne id, name,email,password type liye hai.

And second checkbox  cricket liye hai.

And Third me radio button liye hai.

And Fourth me select box liye hai.

And Fifth me button liye hai.



NOW,  START CODE

OUTPUT

output se apko jarur samjh aa gaya hoga ki html form kya hota hai and kaise create kar sakte hai aage hum or bhi bahot se topic cover karne wale hai to ap sabhi humare sath bane rahe hum daily post karte hai .....
Yadi apne humara purana post nai dekha hai to HTML ya Other tech. and motivation post ke liye niche link par click karke view kar sakte hai....


CLICK HERE



THANKYOU | VISIT AGAIN




 

Post a comment

0 Comments