Simple profile form
Use this code for make a good looking forms for your website :
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Form</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/
bootstrap.min.css" rel="stylesheet" integrity="sha384-0evHe/
X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="head" > <h1>Forms</h1> </div>
<div class="container-fluid frm">
<form>
<div class="mb-3">
<label for="image" class="form-label">profile image</label>
<input accept=".png,.jpeg,.jpg" class="form-control form-control-sm"
id="image" type="file">
</div>
<div class="mb-3">
<label for="Email1" class="form-label">Email address</label>
<input type="email" name="email" class="form-control" id="email"
aria-describedby="email">
<div id="email" class="form-text">We'll never share your email with
anyone else.</div>
</div>
<div class="mb-3">
<label for="Password1" class="form-label">Password</label>
<input type="password" name="password" class="form-control" id="Password1">
</div>
<div class="mb-3 form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Check me out</label>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/js/
bootstrap.bundle.min.js" integrity="sha384-pprn3073KE6tl6bjs2QrFaJGz5/
SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2" crossorigin="anonymous"></script>
</body>
</html>
.frm{
margin-top: 20vh;width:40%; height: 70vh;
}
.head{
text-align: center;
margin-top: 100px;
}
@media (max-width: 400px) {
.frm{
width: 100%;
}
}
.png)