Berikut adalah contoh pembuatan web sederhana dengan versi HTML :
<html>
<head>
<link rel="stylesheet" type="text/css" href="latihan.css" />
<title>Latihan UAS</title>
</head>
<body>
<table>
<tr>
<td colspan="4" class="atas"><h1>WEBSITEKU</h1>
</td>
</tr>
<tr class="menu">
<td id="td"><a href="home.html">Home</a></td>
<td id="td"><a href="profil.html">Profil</a></td>
<td id="td"><a href="friends.html">Friends</a></td>
<td id="td"><a href="Inbox.html">Inbox</a></td>
</tr>
<td><image src="pemandangan.jpg" width="100" height="100"></td>
<td rowspan="3" colspan="2">
Isikan data :
<ul type="circle">
<li>masukkan nama</li>
<li>masukkan JK</li>
<li>Pilih umur</li>
</ul>
Nama : <input type="text" name="firstname"><br><br>
JK : <input type="radio" name="jk" value="p">P
<input type="radio" name="jk" value="L">L<br><br>
umur : <select name="platform" size="1">
<option value="umur 10">10-20
<option value="umur 21">21-40
<option value="umur 41">41-60
</select><br><br>
<center>
<input type="submit" value="simpan">
<input type="submit" value="batal">
</center>
</td>
<td rowspan="3" valign="top">
<a href="home.html">home</a>
<a href="galeri.html">galeri</a>
<a href="profil.html">profil</a>
</td>
</tr>
<tr>
<td><image src="inter.jpg" width="100" height="100"></td>
</tr>
<tr>
<td bgcolor="red"><image src="logo.png" width="100" height="100"></td>
</tr>
<tr>
<td colspan="4">@Copyright by Mohamad Hanafi 2011</td>
</tr>
</table>
</body>
</html>
Hasilnya adalah seperti berikut:
<html>
<head>
<link rel="stylesheet" type="text/css" href="latihan.css" />
<title>Latihan UAS</title>
</head>
<body>
<table>
<tr>
<td colspan="4" class="atas"><h1>WEBSITEKU</h1>
</td>
</tr>
<tr class="menu">
<td id="td"><a href="home.html">Home</a></td>
<td id="td"><a href="profil.html">Profil</a></td>
<td id="td"><a href="friends.html">Friends</a></td>
<td id="td"><a href="Inbox.html">Inbox</a></td>
</tr>
<td><image src="pemandangan.jpg" width="100" height="100"></td>
<td rowspan="3" colspan="2">
Isikan data :
<ul type="circle">
<li>masukkan nama</li>
<li>masukkan JK</li>
<li>Pilih umur</li>
</ul>
Nama : <input type="text" name="firstname"><br><br>
JK : <input type="radio" name="jk" value="p">P
<input type="radio" name="jk" value="L">L<br><br>
umur : <select name="platform" size="1">
<option value="umur 10">10-20
<option value="umur 21">21-40
<option value="umur 41">41-60
</select><br><br>
<center>
<input type="submit" value="simpan">
<input type="submit" value="batal">
</center>
</td>
<td rowspan="3" valign="top">
<a href="home.html">home</a>
<a href="galeri.html">galeri</a>
<a href="profil.html">profil</a>
</td>
</tr>
<tr>
<td><image src="inter.jpg" width="100" height="100"></td>
</tr>
<tr>
<td bgcolor="red"><image src="logo.png" width="100" height="100"></td>
</tr>
<tr>
<td colspan="4">@Copyright by Mohamad Hanafi 2011</td>
</tr>
</table>
</body>
</html>
Hasilnya adalah seperti berikut:
Comments
Post a Comment