Thursday 10 November 2016

Contoh Lajutan Frame




Contoh 1:

<html>
<body bgcolor="yellow">
<h1 align="center">Cara membuat frame Web</h1>
</body>
</html>

Simpan dengan nama: Judul.html

Hasinya:




Contoh 2:

<HTML>
<HEAD>
<TITLE>Membuat Frame- Home</TITLE>
</HEAD>
<BODY BGCOLOR="#000ddd">
<H1 ALIGN=center>Halaman Utama.</H1>
<p>Selamat datang di homepage saya! Homepage ini pasti menarik dan
mudah diikuti karena Dosen saya, selain SANGAT menarik dan
menyenangkan, telah mengajarkan cara yang benar dalam membuat
Frame!</P>
<CENTER><img src="cover1.jpg"><br>Selamat Mencoba !</CENTER>
</BODY>
</HTML>

Simpan dengan nama: home.html


Hasilnya:



Contoh 3:

<HTML>
<HEAD>
<TITLE>Membuat Frame- Daftar</TITLE>
</HEAD>
<BODY BGCOLOR="#aaaFFF">
<TABLE bgcolor="green" width="100%" height="80%" "center">
<tr height="20%" bgcolor="Red"><td>
<H3>DAFTAR MENU</H3> </tr></td>
<tr height="10%" bgcolor="yellow" ><td><A HREF="home.html" TARGET="bawahkanan" Style="text-decoration:none">Home</A><br></tr></td>
<tr height="10%" bgcolor="yellow"><td><A HREF="satu.html" TARGET="bawahkanan" Style="text-decoration:none">Ke File-1</A><BR></tr></td>
<tr height="10%" bgcolor="yellow"><td><A HREF="dua.html" TARGET="bawahkanan" Style="text-decoration:none">ke File-2</A> <BR> </tr></td>
<tr height="10%" bgcolor="yellow"><td><A HREF="tiga.html" TARGET="bawahkanan" Style="text-decoration:none">ke File-3</A> <BR> </tr></td>
<tr height="10%" bgcolor="yellow"><td><A HREF=”http://www.cendana25.blogspot.com” TARGET="_top" Style="text-decoration:none">Blog</A> <BR> </tr></td>
<tr height="10%" bgcolor="yellow"><td><A HREF="http://www.cendana25.blogspot.com" TARGET="_top" Style="text-decoration:none">Web Tutorial</A> </tr></td>
<tr height="10%" bgcolor="yellow"><td><A HREF="http://www.cendana25.blogspot.com" TARGET="_top" Style="text-decoration:none">Komputer</A> </tr></td>
<tr height="10%" bgcolor="yellow"><td><A HREF="http://www.cendana25.blogspot.com" TARGET="_top" Style="text-decoration:none">Internet</A> </tr></td>
<tr height="10%" bgcolor="yellow"><td><A HREF="http://www.cendana25.blogspot.com" TARGET="_top" Style="text-decoration:none">Komunitas</A> </tr></td>
</table>
</BODY>
</HTML>

Simpan dengan nama: daftar.html

Hasilnya:


Contoh 4:

<html>
<frameset rows=20%,* border=0>
<noframes>
maaf hanya bisa tampil pada web yang mendukung frame
</noframes>
<frame src="judul.html" name="atas" scrolling="no" noresize>
<frameset cols=20%,*>
<frame src="daftar.html" name="bawahkiri" noresize>
<frame src="home.html" name="bawahkanan">
</frameset>
</frameset>
<html>

Simpan dengan nama: master.html

Hasilnya pengabungan darifile-file diatas:




Selamat mencoba ....

No comments:

Post a Comment