Page 69 - Modul web baru
P. 69
www.flipbuilder.com www.flipbuilder.com 64 www.flipbuilder.com
www.flipbuilder.com www.flipbuilder.com www.flipbuilder.com
Contoh penggunaan CSS :
<html>
www.flipbuilder.com www.flipbuilder.com www.flipbuilder.com
<head><title>Membuat form bentuk cantik</title>
<style type="text/css">
<!--
INPUT {
background-color:#00FF00;
border-style:outset;
border-width: 2PX;
}
TEXTAREA {
background-color:#00FF00;
www.flipbuilder.com www.flipbuilder.com www.flipbuilder.com
border-style:outset;
border-width: 2PX;
}
.TABLE {
border-style : solid;
border-color:#00FF00;
border-width: 1PX;
}
-->
</style></head>
www.flipbuilder.com www.flipbuilder.com www.flipbuilder.com
<body>
<form name="form1" method="post" action="">
<table class="TABLE" width="350" border="0" cellspacing="0" cellpadding="3">
<tr align="left" bgcolor="#00FF00">
<th colspan="2" scope="col">Form Cantik </th>
</tr>
<tr>
<td width="81">Nama </td>
<td width="107">
</tr> <input name="nama" type="text" id="nama" size="25" maxlength="35"></td>
www.flipbuilder.com www.flipbuilder.com www.flipbuilder.com
<tr>
<td>Alamat</td>
Modul Pemrograman Web SMKN 2 Mojokerto
www.flipbuilder.com www.flipbuilder.com www.flipbuilder.com