forked from hacktiv8/DevC-Exercise4
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.html
More file actions
31 lines (30 loc) · 1.29 KB
/
form.html
File metadata and controls
31 lines (30 loc) · 1.29 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Exercise 4</title>
<link rel="stylesheet" href="form.css">
</head>
<body>
<center>
<h2>You can register through this form</h2>
</center>
<div class="dom">
<form action="https://formspree.io/task_4_buat_form" method="POST"></form>"
<label for="name"> Name </label> </br>
<input type="text" name="name" class="form-control" id="name" placeholder="full-name">
<label for="email"> Your Email </label> <br>
<input type="email" name="email" class="form-control" id="email" placeholder="Email Address">
<label for="age"> Age </label> </br>
<input type="number" name="age" class="form-control" id="age" placeholder="your Age"> </br>
</br>
<label for="kelamin">Gender</label>
<input type="radio" name="kelamin" value="laki-laki"/><label for="laki-laki">Laki-Laki</label>
<input type="radio" name="kelamin" value="perempuan"/><label for="perempuan">Perempuan</label> </br></br>
<label for="address">Alamat</label> </br>
<input type="text" name="address" class="form-control" id="address" placeholder="address"> </br>
<input type="submit" value="Send">
</form>
<center><a href="index.html">Back to main page</a></center>
</div>
</body>
</html>