0% found this document useful (0 votes)
14 views

Form HTM

This document contains the code for an HTML form with fields for collecting a student's first name, last name, grade, phone number, email, address, and pin code. The form uses inputs like text, select, tel, and email alongside labels. It also includes submit and reset buttons.

Uploaded by

kadari7147
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Form HTM

This document contains the code for an HTML form with fields for collecting a student's first name, last name, grade, phone number, email, address, and pin code. The form uses inputs like text, select, tel, and email alongside labels. It also includes submit and reset buttons.

Uploaded by

kadari7147
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

11/10/23, 3:19 AM Form.

htm
Line wrap
1 <HTML>
2
3 <HEAD>
4 <TITLE>HTML Form</TITLE>
5 <STYLE>
6 Body {
7 background-color: #ffffff;
8 }
9
10 U.about {
11 font-family: 'Courier New', Courier, monospace;
12 }
13
14 div.main {
15 color: black;
16 text-align: center;
17 }
18 </STYLE>
19 </HEAD>
20
21 <BODY topmargin="20">
22 <DIV class="Main">
23 <H1><U class="about">HTML Form</U></H1>
24 <U>Registration Form</U>
25
26 <BR><BR>
27
28 <Table border="4" align="center" cellpadding="8px"><TR><TD>
29 <FORM method="post" action="">
30 First Name: <INPUT type="text" name="First_Name" size="30" /><BR><BR>
31 Last Name:<INPUT type="text" name="Last_Name" size="30" /><BR><BR>
32 Grade:<SELECT name="class">
33 <OPTION value="">-- Select Class --</OPTION>
34 <OPTION value="6">Class 6</OPTION>
35 <OPTION value="7">Class 7</OPTION>
36 <OPTION value="8">Class 8</OPTION>
37 <OPTION value="9">Class 9</OPTION>
38 <OPTION value="10">Class 10</OPTION>
39 <OPTION value="11">Class 11</OPTION>
40 <OPTION value="12">Class 12</OPTION>
41 </SELECT><BR><BR>
42 Phone: <INPUT type="tel" name="Phone_No." size="30" maxlength="10" /><BR><BR>
43 E-Mail: <INPUT type="email" name="E-Mail" size="30" /><BR><BR>
44 Address: <INPUT type="text" id="address" NAME="address" /><BR><BR>
45 Pin code: <INPUT type="text" id="PIN" NAME="PIN" /> <BR><BR>
46 <INPUT type="submit" name="submit_btn" value="SUBMIT" />&nbsp;&nbsp;
47 <INPUT type="reset" name="reset_btn" value="RESET" />
48 </FORM>
49 </TD></TR></Table>
50 </DIV>
51 </BODY>
52 </HTML>

view-source:file:///A:/School/Class X/Computer_Report_ File/Form.htm 1/1

You might also like