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>