Step 1: Open the "NOTEPAD" and type the program.
Step 2: Save the Program as extension .html
Step 3: The document will be saved as browser format.
CODE
<!DOCTYPE html>
<html>
<head><title>Student Information</title></head>
<body>
<center><h1>STUDENT INFORMATION</h1></center>
<form name="frm" action="#" method="post">
Register No.:<input type="text" value="" name="txtregno"/><br><br>
Student Name:<input type="text" value="" name="txtsname"/><br><br>
Date of Birth:<input type="date" value="" name="txtdob"/><br><br>
Age:<input type="number" value="" name="txtage"/><br><br>
Course:<select name="ddlcourse">
<option value="1">Select the course</option>
<option value="B.C.A">B.C.A</option>
<option value="B.Sc Computer Science">B.Sc Computer Science</option>
<option value="B.Sc Information Technology">B.Sc Information Technology</option>
<option value="B.Com Commerce">B.Com Commerce</option>
<option value="B.Com CA">B.Com CA</option>
<option value="B.Com PA">B.Com PA</option>
</select><br><br>
<input type="submit" value="Submit" name="btnsubmit">
<input type="reset" value="Reset" name="btnreset">
</form>
</body>
</html>
OUTPUT:
BY
REGU RAM SV.
إرسال تعليق