Monday, August 26, 2019

script sederhana HTML #2


Format kaitan dan Format Formulir

Script hyperlink.
<!DOCTYPE html>
<html>
<head>
                <title>script link</title>
</head>
<body>
<a href="https://khusnimk.blogspot.com/#" target="tampil">https://khusnimk.blogspot.com/#</a>
<iframe name="tampil">
</iframe>
</body>
</html>



Script konsep formulir.
<!DOCTYPE html>
<html>
<head>
                <title>contoh membuat formulir</title>
</head>
<body>
----- IDENTITAS PESERTA DIDIK -----
<form>
                Nama lengkap : <input type="text"
                name="nama"><br>
                no . induk siswa : <input type="text" name="nis"
                maxlength="12"><br>
                <input type="reset" value="reset">
                <input type="submit" name="submit" value="submit">
</form>
</body>
</html>




Script form option.
<!DOCTYPE html>
<html>
<head>
                <title>FORMAT FORMULIR</title>
</head>
<body>
<form method="post">
<table border=0 width="75%"> <tr>
<td width="20%">NISN</td>
<td><input type="text" name="NISN" maxlength="10" size="11"> </td> </tr> <tr>
<td width="20%">Nama peserta didik</td>
<td><input type="text" name="nama peserta didik" maxlength="25" size="25"></td></tr><tr>
<td width="20%">Alamat</td>
<td><input type="text" name="Alamat" maxlength="50" size="40"></td></tr><tr>
<td width="20%">Jenis kelamin</td>
<td><input type="Radio" name="Jenkel" checked value="laki2">Laki-Laki
<input type="Radio" name="Jenkel" value="Perempuan">Perempuan </td> </tr> <tr> <tr>
<td width="20%">Program Keahlian</td>
<td><select name="Jurusan">
                <option value="RPL">Rekayasa Perangkat Lunak
                <option value="AP">Administrasi perkantoran
                <option value="TSM">Teknisi Sepeda Motor
</select> </td> </tr> <tr>
<td width="20%">Fisilitas</td>
<td><input type="Checkbox">Bebas Uang Gedung</td> </tr> <tr>
<td></td><td><input type="Checkbox">Baju Praktek</td> </tr> <tr>
<td></td><td><input type="Checkbox">Seragam Pramuka</td> </tr> <td></td>
<td><input type="Submit" value="Simpan">
<input type="Reset" value="Batal"> </td> </tr> </table> </form>
</body>
</html>

0 comments:

Post a Comment