Tampilan CSS
<head>
<style type="text/css">
i {font style:italic}
</style>
</head>
<body>
<table border="5" bordercolor="red" width="250">
<tr bgcolor="black" width="300" height="35">
<td align="center"> <font face="comic sans ms" color="red"> <small> Ada tabel di dalam tabel </small> </font> </td>
</tr>
<tr bgcolor="black" width="300" height="150" align="center">
<td>
<table border="1" bordercolor="red">
<tr bgcolor="black">
<td colspan="2" align="center"> <font face="comic sans MS" color="yellow"> <i> <small> Data Mobil </small> </i> </font> </td>
</tr>
<tr bgcolor="black">
<td> <font face="comic sans ms" color="white" size="4"> R 40 PO </font> </td>
<td> <font face="comic sans ms" color="white" size="4"> Ferari XYZ </font> </td>
</tr>
<tr bgcolor="black">
<td> <font face="comic sans ms" color="white" size="4"> B 35 OK </font> </td>
<td align="center"> <font face="comic sans ms" color="white" size="4"> BMW 987 </font> </td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="black" width="300" height="35">
<td align="center"> <font face="comic sans MS" color="red"> <small> Font Comic sans MS</small> </font> </td>
</tr>
</table>
</body>
</html>
setelah itu save as dengan nama latihan css 1.html
untuk pemberian nama file terserah anda sendiri....
Tidak ada komentar:
Posting Komentar