Belajar Script 6
CSS (Cascading Style Sheet)
Form
<html>
<head>
<title>Form_01</title>
<style type=text/css>
input { background:yellow; }
</style>
</head>
<body>
<h2>Form Mahasiswa</h2>
<form name=form_mahasiswa>
NIM<br>
<input name=nim type=text size=20><br>
Nama Lengkap<br>
<input name=nama type=text size=40>
</form>
</body>
</html>
BACK NEXT
Catatan: untuk selector input berlaku pada,
<input type=radio>, <input type=checkbox>,
<input type=submit> & <inputy type=button>
Form
<html>
<head>
<title>Form_04</title>
<style type=text/css>
select { background:yellow;
border: 1px solid red;
color: blue; }
</style>
</head>
<body>
<form>
Program Studi:<br>
<select name=prodi>
<option value=SK>Sistem Komputer</option>
<option value=SI>Sistem Informasi</option>
</select>
</form>
</body>
</html>
unduh mas | sedot ini !!
0 Comment for "BELAJAR SCRIPT 6"