0% found this document useful (0 votes)
16 views4 pages

Activity 9

htmllllllll

Uploaded by

ujjwal6035p
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views4 pages

Activity 9

htmllllllll

Uploaded by

ujjwal6035p
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

<!

DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Activity-9</title>

<style>

body {

display: flex;

align-items: center;

justify-content: center;

min-height: 100vh;

background-color: #f7fafc;

.form-container {

width: 100%;

max-width: 20rem;

background-color: #ffffff;

box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

border-radius: 0.5rem;

padding: 2rem;

.form-container h2 {

font-size: 1.5rem;

font-weight: bold;

margin-bottom: 1rem;

.form-container label {

display: block;
color: #4a5568;

font-size: 0.875rem;

font-weight: bold;

margin-bottom: 0.5rem;

.form-container input,

.form-container select,

.form-container textarea {

width: 100%;

padding: 0.5rem;

border: 1px solid #e2e8f0;

border-radius: 0.25rem;

margin-bottom: 1rem;

color: #4a5568;

.form-container button {

background-color: #48bb78;

color: #ffffff;

font-weight: bold;

padding: 0.5rem 1rem;

border-radius: 0.25rem;

cursor: pointer;

border: none;

.form-container button:hover {

background-color: #38a169;

</style>

</head>
<body>

<div class="form-container">

<form>

<h2>Registration Form</h2>

<div>

<label for="name">Name</label>

<input id="name" type="text" placeholder="Name">

</div>

<div>

<label for="email">Email</label>

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

</div>

<div>

<label for="password">Password</label>

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

</div>

<div>

<label for="gender">Gender</label>

<select id="gender">

<option>Select</option>

<option>Male</option>

<option>Female</option>

<option>Other</option>

</select>

</div>

<div>

<label for="bio">Bio</label>

<textarea id="bio" placeholder="Bio"></textarea>

</div>
<div>

<button type="button">Submit</button>

</div>

</form>

</div>

</body>

</html>

You might also like