516 Exp1
516 Exp1
EXPERIMENT-1:
Code :
<!DOCTYPE html>
<html>
<head>
<title>Registration Form</title>
<style>
body{
background-color: red;
.bg{
background-color: green;
</style>
</head>
<body>
<center class="bg">
<h1>Registration page</h1>
<label>First Name</label>
<label>Last Name</label>
PAGE NO:____
<label>Email</label>
<label>Gender</label>
<label>Phone No</label>
<label>Address</label>
<br>
<label>Branch</label>
<select name="ops">
<option value=05>CSE</option>
<option value=66>CSM</option>
<option value=02>EEE</option>
<option value=04>ECE</option>
</select><br>
<button type="submit">Submit</button>
<button type="reset">Reset</button>
</form>
PAGE NO:____
</center>
</body>
</html>
Output :