Ini dia tugas 3 pemograman WEB I yakni tentang Form..
Listing : <html>
<head>
<title>Tugas 3</title>
</head>
<body>
<h4 align="center"><u>Add Data User</u></h4>
<form method="post">
<table align="center" width="350" border="0">
<tr>
<td>Nama User</td>
<td>: </td>
<td> <input type="text" size="20" name="nama"></td>
</tr>
<tr>
<td>Status User</td>
<td>: </td>
<td> <input type="radio" name="status" value="Aktif" checked>Aktif
<input type="radio" name="status" value="Tidak Aktif">Tidak Aktif </td>
</tr>
<tr>
<td>Username</td>
<td>: </td>
<td> <input type="text" size="20" name="username"></td>
</tr>
<tr>
<td>Password</td>
<td>: </td>
<td> <input type="password" name="password" size="18"></td>
</tr>
<tr>
<td>Konfirmasi Password</td>
<td>: </td>
<td> <input type="password" name="password" size="18"></td>
</tr>
<tr>
<td>Jenis User</td>
<td>: </td>
<td> <SELECT NAME="Jenisuser" SIZE=1>
<OPTION SELECTED> -- pilih --
<OPTION>Admin
<OPTION>Operator
<OPTION>Pimpinan
<OPTION>User
</SELECT>
</td>
</tr>
<tr>
<td>Hak Akses</td>
<td>: </td>
<td> <SELECT NAME="Hakakses" SIZE=1>
<OPTION SELECTED> -- pilih --
<OPTION>Entri Data
<OPTION>Print Data
<OPTION>View Data
<OPTION>View Laporan
</SELECT></td>
</tr>
<tr>
<td>Alamat</td>
<td>: </td>
<td> <input type="text" name="alamat" size="20"></td>
</tr>
<tr>
<td>No Telepon</td>
<td>: </td>
<td> <input type="text" size="20" name="notelp"></td>
</tr>
<tr>
<td></td>
<td></td>
<td> <input type="submit" value="Simpan">
<input type="reset" value="Batal"></td>
</tr>
</table>
</form>
</body>
</html>
Comments
Post a Comment