-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
36 lines (29 loc) · 1.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<html>
<head>
<title>Team Registration</title>
<h1>Team Registration</h1>
</head>
<body>
<h3>To register for the team, please fill out the following form.</h3>
<form action="register.php" method="post"> <!-- Create a web form that expects a file in the same directory called register.php to process the data. -->
<!-- The POST method is used here to transmit the form data to the server. This means that no one can see the data as
it is sent to the server. -->
<!-- Collect the student's first and last name. -->
First Name: <input type="text" name="firstname"> <br />
Last Name: <input type="text" name="lastname"><br />
<br />
<!-- Collect the student's sex. -->
<input type="radio" name="sex" value="male"> Male <br />
<input type="radio" name="sex" value="female"> Female <br />
<br />
<!-- Collect the student's grade. -->
<input type="radio" name="grade" value="1"> Freshman <br />
<input type="radio" name="grade" value="2"> Sophomore <br />
<input type="radio" name="grade" value="3"> Junior <br />
<input type="radio" name="grade" value="4"> Senior <br />
<br />
<!-- Create a 'Submit' button that the user will click to submit their answers. -->
<input type="submit" value="Submit">
</form>
</body>
</html>