07 HTML -Student form HTML record
7 create a form using html which has the following types of controls a) Text box b) option/radio button c)check boxes d) reset and submit buttons
Program:-01
Save:- student_form.html
<html>
<head>
<title>Student Form</title>
</head>
<body bgcolor="seablue">
<h2>Student Form</h2>
<form name="student" style="font-size:20px;">
student name : <input type="text" placeholder="name"/></br><br>
gender : <input type="radio" name="gender">male<input type="radio" name="gender">female<br><br>
education: <input type="checkbox" name="ssc">SSC
<input type="checkbox" name="inter">INTER
<input type="checkbox" name="degree">BSc
<input type="checkbox" name="btech">B.Tech
<input type="checkbox" name="msc">MSc
<input type="checkbox" name="mtech">M.Tech
<input type="checkbox" name="phd">PHD</br>
Address: </br><textarea name="address" rows=6 cols=20></textarea><br><br>
<input type="submit" name="submit" value="SUBMIT">
<input type="reset" name="reset" value="RESET">
</form>
</body>
</html>
Output:-
Comments
Post a Comment