1.
Praktikum 9 (Menambah Latar belakang ke
tabel)
·
Source code
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<h4>dengan warna latar
belakang:</h4>
<table border="1"
bgcolor="red">
<tr>
<td>pertama</td>
<td>baris</td>
</tr>
<tr>
<td>kedua</td>
<td>baris</td>
</tr>
</table>
<h4>dengan latar belakang
gambar:</h4>
<table border="1" background="../bg.jpg">
<tr>
<td>pertama</td>
<td>baris</td>
</tr>
<tr>
<td>kedua</td>
<td>baris</td>
</tr>
</table>
<h4>latar belakang pada
sel:</h4>
<table border="1">
<tr>
<td
bgcolor="red">pertama</td>
<td>baris</td>
</tr>
<tr>
<td
background="../ng.jpg">kedua</td>
<td>baris</td>
</tr>
</table>
</body>
</html>
Comments
Post a Comment