Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Simple registration form step 5

<html>
<head>
<title>Registration Form</title>

<h1>My Registration form</h1>
<form>
<div>
<label>First Name</label>
<input type="text" name="fname"/>

</div>
<br/>
<div>
<label>Last Name</label>
<input type="text" name="lname"/>
</div>
<br/>

<div>
<label>Gender</label>
<br/>

<input type="radio" name="gender"/>
<label>Male</label>
<br/>
</div>
<div>
<input type= "radio" name="gender"/>
<label>Female</label>
<br/>
</div>
<div>

<input type="radio" name="gender"/>
<label>Other</label>
</div>
<br/>
by

1 Answer

iamabhishek
Try this:

<!-- Registration form project -->
<!DOCTYPE HTML>
<html>
<head>
<title>Registration Form</title>
</head>
<body>
<h1>My Registration Form</h1>
<form>
<div>
<label>First Name</label>
<input type="text" name="fname" />
</div>
<br/>
<div>
<label>Last Name</label>
<input type="text" name="lname" />
</div>
<br/>
<div>
<label>Gender</label><br/>
<input type="radio" name="gender" />
<label>Male</label><br/>
<input type="radio" name="gender" />
<label>Female</label><br/>
<input type="radio" name="gender"/>
<label>Other</label><br/>
</div><br/>
</form>
</body>
</html>

Login / Signup to Answer the Question.