The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Validate
By Guest on 26th July 2024 08:27:12 AM | Syntax: PYTHON | Views: 38



New Paste New paste | Download Paste Download | Toggle Line Numbers Show/Hide line no. | Copy Paste Copy text to clipboard
  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>Employee Details Form</title>
  7. </head>
  8. <body>
  9.     <div style="max-width: 400px; margin: 50px auto; padding: 20px; border: 1px solid #ccc; border-radius: 5px;">
  10.         <h2>Employee Details Form</h2>
  11.         <form action="#" method="post">
  12.             <div style="margin-bottom: 15px;">
  13.                 <label for="empcode">Employee Code:</label>
  14.                 <input type="text" id="empcode" name="empcode" required>
  15.             </div>
  16.             <div style="margin-bottom: 15px;">
  17.                 <label for="name">Name:</label>
  18.                 <input type="text" id="name" name="name" required>
  19.             </div>
  20.             <div style="margin-bottom: 15px;">
  21.                 <label for="address">Address:</label>
  22.                 <input type="text" id="address" name="address" required>
  23.             </div>
  24.             <div style="margin-bottom: 15px;">
  25.                 <label for="dob">Date of Birth:</label>
  26.                 <input type="date" id="dob" name="dob" required>
  27.             </div>
  28.             <div style="margin-bottom: 15px;">
  29.                 <label for="gender">Gender:</label>
  30.                 <select id="gender" name="gender" required>
  31.                     <option value="" disabled selected>Select Gender</option>
  32.                     <option value="male">Male</option>
  33.                     <option value="female">Female</option>
  34.                     <option value="other">Other</option>
  35.                 </select>
  36.             </div>
  37.             <div style="margin-bottom: 15px;">
  38.                 <label for="mobileno">Mobile No.:</label>
  39.                 <input type="tel" id="mobileno" name="mobileno" pattern="[0-9]{10}" required>
  40.                 <small>Format: 10 digits</small>
  41.             </div>
  42.             <div style="margin-bottom: 15px;">
  43.                 <input type="submit" value="Submit">
  44.             </div>
  45.         </form>
  46.     </div>
  47. </body>
  48. </html>





validate