Kode HTML untuk Membuat Form Pendaftaran - Halaman Login & Buku Tamu
Sabtu, 06 Agustus 2016
Kode:
<html>
<head>
<title>Halaman Login</title>
</head>
<body>
<form method="POST" action="Link yang akan dituju">
<b>Halaman Login</b>
<table border="1" width="266" height="125">
<tr>
<td height="32" width="87">Username</td>
<td height="32" width="163">
<input type="text" name="txtuser" size="20"></td>
</tr>
<tr>
<td height="32" width="87">Password</td>
<td height="32" width="163">
<input type="Password" name="txtpass" size="20"></td>
</tr>
<tr>
<td height="51" width="250" colspan="2">
<input type="submit" value="Login" name="B1">
<input type="reset" value="Cancel" name="B1"></td>
</tr>
</table>
</form>
</body>
</html>
Buku Tamu
<html>
<head>
<title>BUKU TAMU</title>
</head>
<body>
<form method="POST" action="Link yang dituju">
<p><b>BUKU TAMU</b></p>
<table border="1" width="392" height="294">
<tr>
<td height="41" width="151"><b>Nama</b></td>
<td height="41" width="225"><input type="text"
name="T1" size="23"></td>
</tr>
<tr>
<td height="38" width="151"><b>Email</b></td>
<td height="38" width="225"><input type="text"
name="T2" size="28"></td>
</tr>
<tr>
<td height="40" width="151"><b>Website</b></td>
<td height="40" width="225"><input type="text"
name="T3" size="29"></td>
</tr>
<tr>
<td height="156" width="151"><b>Komentar</b></td>
<td height="156" width="225"><textarea rows="8"
name="S1" cols="25"></textarea></td>
</tr>
</table>
<input type="submit" value="Kirim" name="B1"><input
type="reset" value="Cancel" name="B2"></p>
</form>
</body>
</html>
0 komentar