Write the complete HTML code with the necessary CSS properties to design the SignUp form with Username, Password, Name, Email, and Image upload, and a Login button along with a Drawing.-GRADE 11-COMPUTER-NEB-NEPAL




Write the complete HTML code with the necessary CSS properties to design the SignUp form with Username, Password, Name, Email, and Image upload, and a Login button along with a Drawing.

html
Copy code

..........................................................
<!DOCTYPE html>

<html>

<head>

    <title>Sign Up Form</title>

    <style>

        body {

            font-family: Arial, sans-serif;

            background-color: #f4f4f4;

        }

        form {

            background-color: white;

            padding: 20px;

            border-radius: 5px;

            width: 300px;

            margin: 0 auto;

        }

        input[type="text"], input[type="password"], input[type="email"] {

            width: 100%;

            padding: 10px;

            margin: 10px 0;

            border: 1px solid #ccc;

            border-radius: 4px;

        }

        input[type="submit"] {

            background-color: #4CAF50;

            color: white;

            padding: 10px;

            border: none;

            border-radius: 4px;

            cursor: pointer;

        }

        input[type="submit"]:hover {

            background-color: #45a049;

        }

    </style>

</head>

<body>

    <form>

        <h2>Sign Up</h2>

        <input type="text" placeholder="Username" required>

        <input type="password" placeholder="Password" required>

        <input type="text" placeholder="Name" required>

        <input type="email" placeholder="Email" required>

        <input type="file" accept="image/*">

        <input type="submit" value="Sign Up">

    </form>

</body>

</html>

Post a Comment

0 Comments