Create a registration form using HTML

  1.  Choose a HTML editor
  2.  Create a new file with extension .htm or .html
  3.  Add the code to file (File name should be like index.html or file_name.html).
  4.  Fill the fields and create the form.


<!DOCTYPE html>
      <title>Registration Page</title>
      <h1>Register form using HTML</h1>
         <form action="reg2.php" method="POST">
               <td><label>First Name</label></td>
               <td><input type="text" name="fname"></td>
               <td><label>Last Name</label></td>
               <td><input type="text" name="lname"></td>
               <td><input type="radio" name="gender" value="male"> <label>Male</label><br>
                  <input type="radio" name="gender" value="female"> <label>Female</label><br>
                  <input type="radio" name="gender" value="other"> <label>Other</label>
               <td><input type="email" name="email"></td>
               <td><input type="password" name="password"></td>
               <td><input type="submit" name="submit" value="submit"></td>