<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Registration Form</title> <style> body { font-family: Arial, sans-serif; background: #f0f2f5; display: flex; justify-content: center; align-items: center; height: 100vh; } .register-box { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); width: 350px; } .register-box h2 { text-align: center; margin-bottom: 20px; color: #333; } .input-box { margin-bottom: 15px; } .input-box label { display: block; margin-bottom: 5px; font-size: 14px; color: #555; } .input-box input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 5px; outline: none; } .btn { width: 100%; padding: 10px; background: #28a745; border: none; border-radius: 5px; color: #fff; font-size: 16px; cursor: pointer; } .btn:hover { background: #218838; } </style> </head> <body> <div class="register-box"> <h2>Register</h2> <form> <div class="input-box"> <label for="fullname">Full Name</label> <input type="text" id="fullname" placeholder="Enter your name" required> </div> <div class="input-box"> <label for="email">Email</label> <input type="email" id="email" placeholder="Enter your email" required> </div> <div class="input-box"> <label for="username">Username</label> <input type="text" id="username" placeholder="Choose a username" required> </div> <div class="input-box"> <label for="password">Password</label> <input type="password" id="password" placeholder="Create a password" required> </div> <div class="input-box"> <label for="confirm">Confirm Password</label> <input type="password" id="confirm" placeholder="Re-enter password" required> </div> <button type="submit" class="btn">Register</button> </form> </div> </body> </html>