Anda di halaman 1dari 1

Contoh pembuatan Layout dengan menggunakan tag <table>

cara sederhana untuk membuat Layout dengan menggunakan tag <table> pada HTML ad
alah sebagai berikut :
<html>
<body>
<table width = "500" border = "0">
<tr>
<td colspan = "2" style = "background-color:#00ffff;">
<h1>Judul Pada Halaman Web</h1>
</td>
</tr>
<tr>
<tr valign = "top"><td style = "background-color:#680000; width:100px; text-ali
gn:top;">
<b>Daftar Isi</b><br/>
HTML<br/>
XHTML<br/>
CSS<br/>
Java Script</td>
<td style = "background-color:#b0b0b0; height:200px; width:400px; text-align:to
p;">
Isi Artikel Sobat Disini</td>
</tr>
<tr>
<td colspan = "2" style = "background-color:#33cccc; text-align:center;">create
d by @ beyblogdesign</td>
</tr>
</body>
</html>

Anda mungkin juga menyukai