To create a registration form with password fields.


Q. Write an HTML program to create a registration form with password and confirm password fields.

<!DOCTYPE html>
<html>
<head><title>Register</title></head>
<body>
  <h2>Sign Up</h2>
  <form>
    Username: <input type="text" name="username"><br><br>
    Password: <input type="password" name="password"><br><br>
    Confirm Password: <input type="password" name="confirmpassword"><br><br>
    <input type="submit" value="Register">
  </form>
</body>
</html> 



OnlineTpoint is a website that is meant to offer basic knowledge, practice and learning materials. Though all the examples have been tested and verified, we cannot ensure the correctness or completeness of all the information on our website. All contents published on this website are subject to copyright and are owned by OnlineTpoint. By using this website, you agree that you have read and understood our Terms of Use, Cookie Policy and Privacy Policy.