You are on page 1of 4

WEB ENGINEERING LAB

WE LAB TASK 2 REPORT


HTML FORMS

HTML CODE:

<!DOCTYPE html>

<html>

<body>

<form action="">

<fieldset style="width: 30%;">

<legend >User Personal information:</legend>

<label> Name </label> <br> <input type="text" size="30"><br>

<label> Email </label> <br> <input type="email" size="30"><br>

<label> Password </label> <br> <input type="password" size="30"><br>

<label> Confirm Password </label> <br> <input type="password"


size="30"><br><br>

<label> Select Gender: </label>

<input type="radio" name="gender" id="male" value="male">

<label for="male">Male</label>

<input type="radio" name="gender" id="female" value="female">

<label for="female">Female</label>
<input type="radio" name="other" id="other" value="other">

<label for="others">Others</label><br>

<label> Age </label> <input type="text" size="10"><br>

<p style=" margin-bottom: 0%; font-style: italic; font-family: Arial,


Helvetica, sans-serif; font-weight: bold;" >

Select Year</p>

<select>

<option value="First Year">First Year</option>

<option value="Second Year">Second Year</option>

<option value="Third Year">Third Year</option>

<option value="Fourth Year">Fourth Year</option>

</select> <br>

<p style="margin-bottom:0% ;font-style: italic; font-family: Arial,


Helvetica, sans-serif; font-weight: bold;" >

Select Elective Subjects</p>

<input type="checkbox" id="Ai" name="Ai" value="Artificial


Intelligence"/>

<label for="Ai">Artificial Intelligence</label> <br>

<input type="checkbox" />

<label for="DM">Data Mining</label> <br>

<input type="checkbox" />

<label for="Cv">Computer Vision</label><br><br>

<label> Enter Your Address:</label><br>

<textarea rows="3" cols="20"></textarea><br><br>

<input type="file" id="myfile" name="myfile"><br><br>

2
<input type="submit" value="submit"> <input type="reset" value="reset">

</fieldset>

</form>

</body>

</html>

OUTPUT:

3
4

You might also like