Koding FORM Sederhana di HTML
Contoh 1 :
Contoh FORM Sederhana di HTML |
Koding :
<!DOCTYPE html>
<head>
<title> Form </title>
<style type="text/css">
input {background-color:silver; color:blue; border:5px dotted red}
</style>
</head>
<body>
<h2> Form Mahasiswa</h2>
<form name=form_mahasiswa> NIM: <br>
<input name=nim type=text size=20><br></br>
Nama: <br>
<input name=nama type=text size=40><br></br>
<b> Program Studi: </b> <br>
<input type=radio name=Program_studi value=SI> Sistem Informasi
<input type=radio name=Program_studi value=SK> Sistem Komputer <br></br>
<input type=submit name=submit value=Send>
<input type=submit name=submit value=Batal>
</form>
</table>
</body>
</html>
Contoh 2 :
Contoh FORM Sederhana di HTML |
Koding :
<!DOCTYPE html>
<head>
<title> Form </title>
<style type="text/css">
table {width:850px; height:230px; border:2px solid blue; background-color:silver;}
input {background-color:silver; color:blue; border:2px dashed red;}
</style>
</head>
<body>
<h2> Form Mahasiswa</h2>
<table>
<tr>
<td bgcolor=silver>
<form name=form_mahasiswa> NIM: <br>
<input name=nim type=text size=50><br></br>
Nama:<br>
<input name=nama type=text size=70><br></br>
<b> Program Studi: </b> <br>
<input type=radio name=Program_studi value=SI> Sistem Informasi
<input type=radio name=Program_studi value=SK> Sistem Komputer <br></br>
<input type=submit name=submit value=Send>
<input type=submit name=submit value=Batal>
</form>
</table>
</body>
</html>
Komentar
Posting Komentar