Advertisement
jolenic

User Registration Form

Oct 27th, 2020
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.15 KB | None | 0 0
  1. <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
  2.    pageEncoding="ISO-8859-1"%>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <meta charset="ISO-8859-1">
  7. <title>User Registration</title>
  8. </head>
  9. <body>
  10. <form action ="RegisterUser" method="post">
  11.     <table style="width: 50%">
  12.         <tr>
  13.             <td>UserName</td>
  14.             <td><input type="text" name="userName"/>
  15.             </td></tr>
  16.            
  17.             <tr>
  18.             <td>Password</td>
  19.             <td><input type="password" name="password"/>
  20.             </td></tr>
  21.            
  22.             <tr>
  23.             <td>First Name</td>
  24.             <td><input type="text" name="firstName"/>
  25.             </tr>
  26.            
  27.             <tr>
  28.             <td>Last Name</td>
  29.             <td><input type="text" name="lastName"/>
  30.             </tr>
  31.            
  32.             <tr>
  33.             <td>Email</td>
  34.             <td><input type="text" name="email"/>
  35.             </tr>
  36.            
  37.             <tr>
  38.             <td>User Type</td>
  39.             <td>  <input type="radio" id="S" name="role" value="S">
  40.                   <label for="male">Student</label>
  41.                   <input type="radio" id="T" name="role" value="T">
  42.                   <label for="female">Teacher</label>
  43.                   <input type="radio" id="A" name="role" value="A">
  44.                   <label for="other">Admin</label>
  45.            
  46.             </table>
  47.             <input type="submit" value="Register"/>
  48. </form>
  49. </body>
  50. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement