OneCompiler

full reg. form

1663
<!DOCTYPE html> <html> <head> <title>Registration Form</title> <style> body { font-family: Arial, sans-serif; background-color: #f4f4f4; margin: 0; padding: 20px; } h2 { text-align: center; color: #333; } form { background-color: #fff; max-width: 400px; margin: 0 auto; padding: 20px; border-radius: 8px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } label { display: block; margin-bottom: 8px; font-weight: bold; } input[type="text"], textarea { width: 100%; padding: 10px; margin-bottom: 20px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; } input[type="submit"], input[type="reset"] { background-color: #4CAF50; color: white; padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; margin-right: 10px; } input[type="submit"]:hover, input[type="reset"]:hover { background-color: #45a049; } </style> </head> <body> <h2>Registration form</h2>
<form>
    <label for="name">Enter your Name:</label>
    <input type="text" id="name" name="name" placeholder="Enter your full name"><br><br>

    <label for="surname">Enter your Surname:</label>
    <input type="text" id="surname" name="surname"><br><br>

    <label for="address">Enter your address:</label><br>
    <textarea id="address" name="address" rows="5" cols="40"></textarea><br><br>

    <input type="submit" value="Submit">
    <input type="reset" value="Reset">
</form>
</body> </html>