Coding To Create Registration Form in HTML
Coding To Create Registration Form in HTML
doctype html>
<html>
<head> <title> registration form </title></head>
<body style="background-color:lightpink">
<form name="registration form" method="post" action="mailto:[email protected]">
<h1 align = "center"> registration form </h1>
<b>applicant name:</b>
<input type="text" name="appli-name" size="30" maxlength="20">
<br> <br>
<b>address: </b>
<input type="text" name="address" size="30" maxlength="40">
<br> <br>
<b> state: </b>
<input type="text" name="state" size="30" maxlength="40">
<b>city: </b>
<input type="text" name="city" size="30" maxlength="40">
<br> <br>
<b> gender: <b>
<input type="ratio" name="gender" value="m" > male
<input type="ratio" name="gender" value="f" checked > female
<br> <b> username (for this website) :</b>
<input type="text" name="username" size="30" maxlength="40">
<br> <br> <b> password (for this website) :</b>
<input type="password" name="pwd" size="30" maxlength="20"> <br>
<b>area of interest: </b> <br>
<input type="checkbox" name="interest_area" value= "spritual"> spritual
<input type="checkbox" name="interest_area" value= "adventure" checked> adventure
<input type="checkbox" name="interest_area" value= "wildlife"> wildlife
<br> <br>
<b>comment: </b> <br>
<textarea name="comment" rows="10" cols="60">
type your comments here...
</textarea> <br>
<input type="submit" value="submit">
</form>
</body>
<html>