-
Notifications
You must be signed in to change notification settings - Fork 4
/
mahasiswa.php
65 lines (62 loc) · 2.95 KB
/
mahasiswa.php
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
<title>Halaman Biodata</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<div class="container-fluid">
<div class="container p-5 my-5 bg-dark text-white">
<h2>Selamat datang</h2>
</div>
<div class="container p-5 my-5 border border-dark">
<h2>Input Mahasiswa</h2>
<form action="/action_page.php">
<div class="mb-3 mt-3">
<label for="nim">Nim :</label>
<input type="text" class="form-control" placeholder="Input Nama" name="nim" required>
</div>
<div class="mb-3 mt-3">
<label for="nama">Nama :</label>
<input type="text" class="form-control" placeholder="Input Nama" name="nama" required>
</div>
<div class="mb-3 mt-3">
<label for="nama">Jurusan :</label>
<select name="jurusan" class="form-select">
<option value="J01">Sistem Komputer</option>
<option value="J02">Sistem Informasi</option>
<option value="J03">Teknologi Informasi</option>
</select>
</div>
<div class="mb-3">
<label for="gener">Gender :</label><br>
<input class="form-check-input" type="radio" name="gender" value="1">
<label class="form-check-label" for="flexRadioDefault1">
Laki - Laki
</label>
<input class="form-check-input" type="radio" name="gender" value="0">
<label class="form-check-label" for="flexRadioDefault1">
Perempuan
</label>
</div>
<div class="mb-3">
<label for="alamat">Alamat :</label>
<input type="text" class="form-control" placeholder="Input Alamat" name="alamat" required>
</div>
<div class="mb-3">
<label for="no_hp">No HP :</label>
<input type="text" class="form-control" placeholder="Input No HP" name="no_hp" required>
</div>
<div class="mb-3">
<label for="Alamat">Email :</label>
<input type="email" class="form-control" placeholder="Input Email" name="email" required>
</div>
<button type="submit" class="btn btn-primary">Simpan</button>
</form>
</div>
</div>
</body>
</html>