MULTIPLE FORM DALAM DOCUMENT
Contoh:
<html>
<head>
<title>Penggunaan Multiple form</title>
</head>
<body bgcolor=lightblue>
<form action=" " method="post">
Baju anda ukuran berapa ?<BR>
<input name=”size” type=radio value=sm>small
<input name=”size” type=radio value=md>medium
<input name=”size” type=radio value=lg>large
<p>
<input type=submit value=kirim_data_ini!>
</form><HR>
<form action=" " method="post">
<table>
<tr><td>nama :</td><td><input type=”text” name=”nama” size=”50”></td></tr>
<tr><td>e-mail :</td><td><input type=”text” name=”e-mail” size=”50”></td></tr>
<tr><td>alamat :</td><td><input type=”text” name=”alamat” size=”30”></td></tr>
<tr><td>kota :</td><td><input type=”text” name=”kota” size=”50”></td></tr>
</table>
<p>
<input TYPE=submit VALUE=Kirim_data_ini!>
</form><HR>
<form action=" " method="post">
<dl>
<dt>pilih cara pembayarannya ?
<dd><input name=”bayar” type=radio value=”cash” checked>cash
<dd><input name=”bayar” type=radio value=”cash” checked>cash
<dd><input name=”bayar” type=radio value=”check”>check
<dd><input name=”bayar” type=radio value=”debit”>debit card
<dl>
<dt>credit card
<dd><input name=”bayar” type=radio value=”mc”>mastercard
<dd><input name=”bayar” type=radio value=”visa”>visa
<dd><input name=”bayar” type=radio value=”disc”>discover
</dl>
</dl>
<p>
<input type=submit value=kirim_data_ini!>
</form>
</body>
</html>
No comments:
Post a Comment