1. Simpan dengan Nama File index.html
?HTML>
?HEAD>
?TITLE>Halaman Utama?/TITLE>
?/HEAD>
?frameset rows = "20%, *" border ="0">
?frame src = "Judul.html" scrolling ="no">
?frameset cols = "20%, *, 30%" border ="1">
?frame src = "kiri.html">
?frame src = "Entridata.html">
?frame src = "tabelmahasiswa.html">
?/frame>
?BODY>
?bgsound src = "/home/jurusan2/Music/Damien_Rice-The_Blowers_Daughter.mp3" loop = "true">
?/BODY>
?/HTML>
2. Simpan dengan Nama File Judul.html
?HTML>
?HEAD>
?TITLE>Contoh Judul?/TITLE>
?/HEAD>
?BODY bgcolor="grey">
?TABLE border =1 valign ="center">
?font color="red">
?TR>?TH width ="120">Logo?/TH>
?TH width ="900" align="left">
?H3>SEKOLAH TINGGI MANAJEMEN INFORMATIKA DAN KOMPUTER?/H3>?P>
?H1>STMIK KHARISMA KARAWANG?/H1>?P>
?/TH>?/TR>
?/TABLE>
?/BODY>
?/HTML>
3. Simpan dengan Nama File Entridata.html
?HTML>
?HEAD>
?TITLE>Contoh Penggunaan Formulir?/TITLE>
?/HEAD>
?BODY>
?FORM ACTION = "info.htm" METHOD = "GET">
?h4>ENTRI DATA MAHASISWA STMIK KHARISMA KARAWANG ?/H4>
?HR>
?pre>
NPM : ?INPUT TYPE = "TEXT" NAME = "npm" SIZE = "14"MAXLENGTH = "14">
Nama : ?INPUT TYPE = "TEXT" NAME = "nama" SIZE = "30"MAXLENGTH = "30">
Gender : ?INPUT TYPE = "RADIO" NAME = "sex" CHECKED>Pria
?INPUT TYPE = "RADIO" NAME = "sex">Wanita
Prodi : ?SELECT NAME = "prodi">
?OPTION VALUE = "TI" selected>Teknik Informatika
?OPTION VALUE = "SI">Sistem Informasi
?OPTION VALUE = "MI">Manajemen Informatika
?OPTION VALUE = "KA">Komputerisasi Akuntansi
?OPTION VALUE = "TK">Teknik Komputer
?/SELECT>
Jenjang : ?SELECT NAME = "jenjang">
?OPTION VALUE = "D1" selected>D1
?OPTION VALUE = "D2">D2
?OPTION VALUE = "D3">D3
?OPTION VALUE = "S1">S1
?OPTION VALUE = "S2">S2
?OPTION VALUE = "S3">S3
?/SELECT>
Hobby : ?INPUT TYPE = "CHECKBOX" NAME = "musik" CHECKED>Main Musik
?INPUT TYPE = "CHECKBOX" NAME = "komputer">Membuat Program Komputer
?INPUT TYPE = "CHECKBOX" NAME = "olahraga">Olah Raga
Komentar Anda:?BR>
?TEXTAREA NAME = "komentar"
ROWS = "5" COLS = "40"
WRAP>Tulis Komentar disni
?/TEXTAREA>
?BR>
?/pre>
?INPUT TYPE = "BUTTON" NAME = "btnsimpan" VALUE = "Simpan">
?INPUT TYPE = "BUTTON" NAME = "btnPerbaiki" VALUE = "Perbaiki">
?INPUT TYPE = "BUTTON" NAME = "btnhapus" VALUE = "Hapus">
?INPUT TYPE = "BUTTON" NAME = "btncari" VALUE = "Cari">
?INPUT TYPE = "BUTTON" NAME = "btnkembali" VALUE = "Kembali">
?hr>
?/FORM>
?/BODY>
?/HTML>
4. Simpan dengan Nama File Kiri.html
?HTML>
?HEAD>
?TITLE>Menampilkan Password?/TITLE>
?/HEAD>
?BODY BACKGROUND = "nada.jpg">
?pre>
Silahkan Login terlebih dahulu
NPM : ?INPUT TYPE = "TEXT" NAME = "usernpm" SIZE = "14" MAXLENGTH = "14">
Password : ?INPUT TYPE = "PASSWORD" NAME = "password" SIZE = "8" MAXLENGTH = "8">
?BR>
?INPUT TYPE = "SUBMIT" VALUE = "Aktifkan">
?INPUT TYPE = "RESET" VALUE = "Kosongkan">
?/pre>
?/BODY>
?/HTML>
Simpan dengan Nama File Tabelmahasiswa.html
?HTML>
?HEAD>
?TITLE>Tabel Sederhana?/TITLE>
?/HEAD>
?BODY>
?pre>
?TABLE border =1 valign ="center">
?CAPTION>Daftar Mahasiswa?/CAPTION>
?TR>?TH>NPM?/TH> ?TH>Nama?/TH> ?TH>Gender?/TH> ?TH>Prodi?/TH> ?TH>Jenjang?/TH> ?TH>Hobby?/TH>?/TR>
?TR>?TD>43E570260?/DH> ?TD>A?/TD> ?TD>A?/TD> ?TD>A?/TD> ?TD>A?/TD> ?TD>A?/TD>?/TR>
?TR>?TD>43E570261?/DH> ?TD>B?/TD> ?TD>B?/TD> ?TD>B?/TD> ?TD>B?/TD> ?TD>B?/TD>?/TR>
?TR>?TD>43E570262?/DH> ?TD>C?/TD> ?TD>C?/TD> ?TD>C?/TD> ?TD>C?/TD> ?TD>C?/TD>?/TR>
?/TABLE>
?/pre>
?/BODY>
?/HTML>
Kamis, 23 Oktober 2008
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar