Advertisement
baka_mashiro

Untitled

May 12th, 2024
502
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.65 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.   <head>
  4.     <meta charset="UTF-8" />
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6.     <title>User Information Form</title>
  7.     <link
  8.      rel="stylesheet"
  9.      href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
  10.    />
  11.   </head>
  12.   <body>
  13.     <div class="container mt-5">
  14.       <h2>User Information Form</h2>
  15.       <form action="/submit" method="post" enctype="multipart/form-data">
  16.         <div class="form-group">
  17.           <label for="studentID">Student ID:</label>
  18.           <input
  19.            type="text"
  20.            class="form-control"
  21.            id="studentID"
  22.            name="studentID"
  23.            required
  24.          />
  25.         </div>
  26.         <div class="form-group">
  27.           <label for="name">Name:</label>
  28.           <input
  29.            type="text"
  30.            class="form-control"
  31.            id="name"
  32.            name="name"
  33.            required
  34.          />
  35.         </div>
  36.         <div class="form-group">
  37.           <label for="grade">Grade:</label>
  38.           <input
  39.            type="text"
  40.            class="form-control"
  41.            id="grade"
  42.            name="grade"
  43.            required
  44.          />
  45.         </div>
  46.         <div class="form-group">
  47.           <label for="photo">Photo:</label>
  48.           <input
  49.            type="file"
  50.            class="form-control-file"
  51.            id="photo"
  52.            name="photo"
  53.            accept="image/*"
  54.            required
  55.          />
  56.         </div>
  57.         <button type="submit" class="btn btn-primary">Submit</button>
  58.       </form>
  59.     </div>
  60.   </body>
  61. </html>
  62.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement