Merge pull request #1 from BhaskaraReddy123/bhaskar

Bhaskar
This commit is contained in:
D.BhaskaraReddy 2025-02-07 14:41:59 +05:30 committed by GitHub
commit 7bdb75a481
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 182 additions and 0 deletions

91
bhaskar.html Normal file
View file

@ -0,0 +1,91 @@
<!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;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f0f0f0;
}
.form-container {
background-color: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 400px;
}
h2 {
text-align: center;
}
label {
display: block;
margin: 8px 0 4px;
}
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="date"] {
width: 100%;
padding: 10px;
margin-bottom: 12px;
border: 1px solid #ccc;
border-radius: 4px;
}
input[type="submit"] {
background-color: #4CAF50;
color: white;
border: none;
padding: 10px 15px;
cursor: pointer;
border-radius: 4px;
width: 100%;
}
input[type="submit"]:hover {
background-color: #45a049;
}
.message {
text-align: center;
margin-top: 20px;
}
</style>
</head>
<body>
<div class="form-container">
<h2>Register</h2>
<form action="submit_form.php" method="POST">
<label for="fname">First Name</label>
<input type="text" id="fname" name="fname" required>
<label for="lname">Last Name</label>
<input type="text" id="lname" name="lname" required>
<label for="email">Email Address</label>
<input type="email" id="email" name="email" required>
<label for="phone">Phone Number</label>
<input type="tel" id="phone" name="phone" required>
<label for="dob">Date of Birth</label>
<input type="date" id="dob" name="dob" required>
<label for="password">Password</label>
<input type="password" id="password" name="password" required>
<label for="confirm-password">Confirm Password</label>
<input type="password" id="confirm-password" name="confirm-password" required>
<input type="submit" value="Register">
</form>
<div class="message">
<p>Already have an account? <a href="#">Login here</a></p>
</div>
</div>
</body>
</html>

91
sample.html Normal file
View file

@ -0,0 +1,91 @@
<!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;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f0f0f0;
}
.form-container {
background-color: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 400px;
}
h2 {
text-align: center;
}
label {
display: block;
margin: 8px 0 4px;
}
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="date"] {
width: 100%;
padding: 10px;
margin-bottom: 12px;
border: 1px solid #ccc;
border-radius: 4px;
}
input[type="submit"] {
background-color: #4CAF50;
color: white;
border: none;
padding: 10px 15px;
cursor: pointer;
border-radius: 4px;
width: 100%;
}
input[type="submit"]:hover {
background-color: #45a049;
}
.message {
text-align: center;
margin-top: 20px;
}
</style>
</head>
<body>
<div class="form-container">
<h2>Register</h2>
<form action="submit_form.php" method="POST">
<label for="fname">First Name</label>
<input type="text" id="fname" name="fname" required>
<label for="lname">Last Name</label>
<input type="text" id="lname" name="lname" required>
<label for="email">Email Address</label>
<input type="email" id="email" name="email" required>
<label for="phone">Phone Number</label>
<input type="tel" id="phone" name="phone" required>
<label for="dob">Date of Birth</label>
<input type="date" id="dob" name="dob" required>
<label for="password">Password</label>
<input type="password" id="password" name="password" required>
<label for="confirm-password">Confirm Password</label>
<input type="password" id="confirm-password" name="confirm-password" required>
<input type="submit" value="Register">
</form>
<div class="message">
<p>Already have an account? <a href="#">Login here</a></p>
</div>
</div>
</body>
</html>