Cara Membuat Form di HTML



<html>
<head>
<title>SOAL FORM</title>
</head>
<body>
<br></br>

<form action="" method="get">
<label>Nama &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:</label>
<input type="text" name="" id="" size="40" placeholder="Nama Anda" required="required"> <br/> <br/>

<label>Alamat &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:</label>
<input type="text" name="" id="" size="40" placeholder="Alamat Anda" required="required"> <br/> <br/>

<label>Jenis Kelamin &nbsp;&nbsp;&nbsp;:</label>
<input type="radio" name="jk">Pria
<input type="radio" name="jk">Wanita
<br/><br/>
<label>Status &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:</label>
<select>
<option>Mahasiswa</option>
<option>Petani</option>
<option>Guru</option>
<option>Artis</option>
</select><br/><br/>


&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="submit" value="Simpan">
<input type="reset" value="Hapus">
</form>
</body>
</html>

Related Posts:

0 Response to "Cara Membuat Form di HTML"

Post a Comment