WELCOME TO RITJ TIPS TRICK & TUTORIALS

Senin, 24 April 2017

Cara Membuat Form Registrasi HTML




SCRIPT HTML:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Formulir Registrasi</title>
</head>
<body>
<form name="form">
<table border ="0" align="center" height="450" width="850" bgcolor="#CCFFCC">
<tr>
<td align="center" colspan="3" bgcolor="#33FFF00"><b>FORM REGISTRASI</b><br /><U>by:rumahitjambi.blogspot.co.id</U></td>
</tr>
<tr>
<td><label for="NIM">NIM</label></td>
<td>:</td>
<td>
<input type="text" name="test" value="" style="width:300px;"  />
</td>
</tr>
<tr>
<td><label for="NAMA">NAMA</label></td>
<td>:</td>
<td>
<input type="text" name="nama" value="" style="width:300px;" />
</td>
</tr>
<tr>
<td><label for="jk">JENIS KELAMIN</label></td>
<td>:</td>
<td><input type="radio" name="jk" value="lk" />Laki-Laki
<input type="radio" name="jk" value="pr" />Perempuan</td>
</tr>
<tr>
<td><label for="asal">ASAL</label></td>
<td>:</td>
<td><select name="asal">
<option value="val" selected="selected">--</option>
<option value="val" selected="selected">Aceh</option>
<option value="val" selected="selected">Palembang</option>
<option value="val" selected="selected">Padang</option>
<option value="val" selected="selected">Jambi</option>
</select></td>
</tr>
<tr>
<td><label for="NO TELP">NO TELP</label></td>
<td>:</td>
<td><input type="number" name="no" value="" style="width:300px;"/></td>
</tr>
<tr>
<td><label for="pass">ALAMAT EMAIL</label></td>
<td>:</td>
<td><input type="text" name="AM" value="" style="width:300px;"/></td>
</tr>
<tr>
<td><label for="pass">PASSWORD</label></td>
<td>:</td>
<td><input type="text" name="pass" value="" style="width:300px;"/></td>
</tr>
<tr>
<td><label for="hoby">HOBBY</label></td>
<td>:</td>
<td>
<input type="checkbox" name="SP"/>Sepakbola  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" name="MB"  />Membaca <br />
<input type="checkbox" name="FS"/>Futsal &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" name="JG"  />Jogging <br />
<input type="checkbox" name="BR"/>Berenang   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" name="GW"  />Gowes
</td>
</tr>
<tr>
<td>DESKRIPSI DIRI</td>
<td>:</td>
<td><textarea name="DS" rows="4" cols="40">
</textarea></td>
</tr>
<tr bgcolor="#0099CC">
<td align="center" colspan="3" ><input type="submit" name="test" value="kirim" /> <input type="reset" name="eset" value="Batal" /></td>
</tr>
</table>
</form>
</body>
</html>

Tidak ada komentar:

Posting Komentar