how to create form in HTML ( html)

               how to create form in HTML


: Open notepad in you system and type this code

<!docktype html>

<html>

<head> <title> ASK4YOU</title> </head>

<body>

<h1> regestration form </h1>

<form>

first name:   <input type="text" placeholder="first name"> <br>
<br>

last name:    <input type="text" placeholder="last name"> <br>
<br>

city:         <input type="text" placeholder="city"> <br>
<br>

date of birth:   <input type="text" placeholder="date of birth"> <br>
<br>

email id:    <input type="text" placeholder="email id"> <br>
<br>

password:    <input type="password" placeholder="password"> <br>
<br>


gender <input type="radio" name="gender"> male <br><br>

gender <input type="radio" name="gender"> female <br> <br>

<button type="submit" value="submit"> SUBMIT </button>

</form>

</body>

</html>


now save this file like this

example:

registration form is ready you can see in your any browser
like this :










Previous
Next Post »

If you have any doubt please let me know we will try to solve it ConversionConversion EmoticonEmoticon