Frame : untuk membagi jendela menjadi beberapa
Perhatikan potongan gambar frame di bawah ini :
Saat menge-klik menu.htm seperti Home, Profile, History, atau Contact maka isi dari link
tersebut akan tersaji di bagian utama.htm. Maka yang harus disiapkan adalah
- home.htm
- profile.htm
- history.htm
- contact.htm
- judul.htm
- utama.htm
- menu.htm, yang terlulis linkČ menuju
- home.htm
- profile.htm
- history.htm
- contact.htm
- terahkir adalah file default.htm yang berisi kode-kode frame seperti dibawah ini
<
html>
<
head>
<
title>default</
title>
</
head>
<!--Kode frame dimulai--!>
<
frameset rows=
"25%,*">
<
frame src=
"judul.htm" name=
atas>
<
frameset cols=
"25%,*">
<
frame src=
"menu.htm" name=
kiri>
<
frame src=
"utama.htm" name=
kanan>
</
frameset>
</
frameset>
<!--Kode frame diakhiri--!>
</
html>
Posted at 09:26 am by
siswa