Belajar JavaScript
Percobaan ke 2
<html>
<head>
<title>Nadiah Kartikawati</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.tengah {
margin: auto;
width: 50%;
border: 5px solid pink;
padding: 10px;
text-align: center;
}
</style>
</head>
<body>
<div class="tengah">
<h1>FORM MABA</h1>
</div>
<div class="tengah">
<label>Nama</label>
<input type="text"/>
</div>
<div class='tengah'>
<label>Alamat</label>
<input type="text"/>
</div>
<div class="tengah">
<label> RT </label>
<input type="text"/>
<label> RW </label>
<input type="text"/>
</div>
<div class="tengah">
<label>SEKOLAH</label>
<input type="text"/>
<input type="button" value="cari"/>
</div>
<div class='tengah'>
<input type="button" value="proses"/>
</div>
</body>
</html>
hasilnya akan seperti :
<html>
<head>
<title>Nadiah Kartikawati</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.tengah {
margin: auto;
width: 50%;
border: 5px solid pink;
padding: 10px;
text-align: center;
}
</style>
</head>
<body>
<div class="tengah">
<h1>FORM MABA</h1>
</div>
<div class="tengah">
<label>Nama</label>
<input type="text"/>
</div>
<div class='tengah'>
<label>Alamat</label>
<input type="text"/>
</div>
<div class="tengah">
<label> RT </label>
<input type="text"/>
<label> RW </label>
<input type="text"/>
</div>
<div class="tengah">
<label>SEKOLAH</label>
<input type="text"/>
<input type="button" value="cari"/>
</div>
<div class='tengah'>
<input type="button" value="proses"/>
</div>
</body>
</html>
hasilnya akan seperti :
Harrah's Resort Southern California announces reopening date
BalasHapusHarrah's Resort Southern 군산 출장마사지 California is extending its commitment to 서울특별 출장안마 responsible gambling, the Southern California 정읍 출장마사지 Casino & Hotel and Valley Center Jun 21, 2022Harrah's 화성 출장안마 Rincon Casino & 목포 출장마사지 Hotel - Valley Center, CA Jobs - JHAR