Rabu, 24 Maret 2010

Membuat Form Sederhana

Untuk membuat suatu Form input dengan tampilan sederhana seperti di bawah ini :



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<table width="200" border="1" align="center">
<tr>
<td width="69">ID_Tamu</td>
<td width="115"><form id="form1" name="form1" method="post" action="input.php">
<label>
<input type="text" name="id" id="txtId" />
</label>
</form> </td>
</tr>
<tr>
<td>Nama_Tamu</td>
<td><form id="form2" name="form2" method="post" action="">
<input type="text" name="nama" />
</form> </td>
</tr>
<tr>
<td>&nbsp;</td>
<td><form id="form3" name="form3" method="post" action="">
<label>
<input type="submit" name="cmdsubmit" value="Kirim" />
</label>
</form> </td>
</tr>
</table>
</body>
</html>




0 komentar:

Posting Komentar