Making a form using HTML

To make a form using HTML is very simple. Here you will use form tag and finish the option by closing form tag. Let try the code as below :

<form>
First name: <input type="text" name="firstname"><br>
Last name: <input type="text" name="lastname">
</form> 


Now we can try more with some information :

<form>
Name: <input type="text" name="name"><br>
District: <input type="text" name="district">

Fathers Name <input type="text" name="fathersname">
Mothers Name <input type="text" name="mothersname">
Submit <input type="submit" name="submit">
</form> 

No comments:

Post a Comment