COMPELET FORM HTML Coding + CSS
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
form{
background-color: burlywood;
}
h2{
background-color:yellowgreen ;
}
body{
background-color: darkred;
}
</style>
<title>form 2</title>
</head>
<body>
<h2>Registration Form</h2>
<form action="paithon">
<div>
<label for="fullname">Full Name :</label>
<input type="text" name="fullname" id="fullname">
</div> <br>
<div>
<label for="email">Email :</label>
<input type="email" name="email" id="email">
</div> <br>
<div>
<label for="password">Password :</label>
<input type="password" name="password" id="password">
</div><br>
<div>
<label for="dob">Date of Birth</label>
<input type="date" name="dob" id="date">
</div> <br>
<div>
<label for="photo">Choose your photo :</label>
<input type="file" name="photo" id="photo">
</div> <br>
<div>
<label for="gender">Gender :</label>
<input type="radio" name="gender" id="male">Male
<input type="radio" name="gender" id="female">Female
</div> <br>
<div>
<label for="religion">Religion :</label>
<input type="checkbox" name="religion" id="islam">Islam
<input type="checkbox" name="religion" id="sanaton">Sanaton
</div><br>
<div>
<label for="department">Department :</label>
<select name="department" id="department">
<option value="css">CSS</option>
<option value="eee" selected>EEE</option>
<option value="llb">LLB</option>
<option value="airts">AIRTS</option>
</select>
</div> <br>
<div>
<label for="message">Message :</label><br>
<textarea name="message" id="" cols="30" rows="10"></textarea>
</div><br>
<div>
<input type="submit" name="submit" id="submit">
</div>
</form>
</body>
</html>
Comments
Post a Comment