Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Internet and web programming Assignment-1

Name: Sriharsha Chinta

Reg.No: 20BCE2049

Slot: L41+L42

Question

Answer
<html>
<head>
<title>Registration Form</title>
</head>
<style>
body {background-color: rgb(27, 164, 192);}
h1 {color: red;}
p {color: black;}
</style>
<body>
<center>
<h1><u>
Registration Form
</u></h1>

<form method="GET" action="" target="_blank" >

<label for="nameLabel"><i><b>First Name :</i></b></label></td>


<input type="text" placeholder="Enter your First name..." name="name"
required /><br><br>
<label for="nameLabel"><i><b>Last Name :</i></b></label></td>
<input type="text" placeholder="Enter your Last name..." name="name"
required/><br><br>

<label for="countryLabel"><i><b>Country :</b></i></label>

<select name="Country" required>


<option value="" selected disabled>Choose</option>
<option value="India">India</option>
<option value="USA">USA</option>
<option value="UK">UK</option>
<option value="China">China</option>
<option value="Australia">Australia</option>
<option value="Germany">Germany</option>
<option value="Japan">Japan</option>
<option value="South Korea">South Korea</option>
</select><br><br><br>

<label for="phoneLabel"><i><b>Phone Number :</i></b></label>


<input type="phone" name="phone" placeholder="9867****" required>

<label for="clgLabel"><i><b>University Name :</i></b></label></td>


<input type="text" placeholder="Enter University you study in" name="clg"
required/><br><br>

<label for="regLabel"><i><b>Registration Number :</i></b></label>


<input type="text" placeholder="Enter your reg no..." name="regno"
required /><br><br>

<label for="dobLabel"><i><b>Date Of Birth :</b></i></label>


<input type="date" name="dob" required ><br><br>

<label for="genderLabel"><i><b>Gender :</b></i></label>


<input type="radio" name="gender" value="male">
<label for="male">Male</label>&nbsp;&nbsp;&nbsp;
<input type="radio" name="gender" value="female">
<label for="male">Female</label><br><br><br>

<label for="courseLabel"><i><b>Course :</b></i></label>

<select name="course" required>


<option value="" selected disabled>Choose</option>
<option value="CSE core">CSE core</option>
<option value="ECE core">ECE core</option>
<option value="EEE core">EEE core</option>
<option value="BBA">BBA</option>
<option value="Integrated Mtech">Integrated Mtech</option>
<option value="CHY">CHY</option>
<option value="Mechanical">Mechanical</option>
<option value="CIVIL">Civil</option>
</select><br><br><br>
<label for="emailLabel"><i><b>Email Address :</b></i></label>
<input type="text" placeholder="Enter your email..." name="email" required
/><br><br>

<label for="addressLabel"><i><b>Full Address


:</b></i></label><br><br></td>
<textarea name="address" placeholder="Enter your full address..."
rows="10" cols="25"></textarea><br><br>

<label for="photo"><i><b>Passport size photograph :</b></i></label>


<input type="file" name="file" required/><br><br>

<label for="certificateLabel"><i><b>Covid Vaccination Certificates


:</b></i></label>
<input type="file" name="file" required/><br><br>

<label for="passwordLabel"><i><b>Password :</b></i></label>


<input type="password" name="password" placeholder="Enter your
password..." required/><br><br>

<label for="confirmPasswordLabel"><i><b>Confirm Password :</b></i></label>


<input type="password" name="confirm_password" placeholder="Confirm your
password..." required/><br><br>

<input type="checkbox" id="t&c" name="t&c" value="Terms" required>


<label for="T&C"> By checking the checkbox you agree for all terms and
condition. Later we are not answerabale </label><br>

<input type="submit" name="submit" value="REGISTER" />


</form>
</body>

</html>
Output

You might also like