Thursday, September 27, 2018

Tugas Web 2

Source Code Menghitung Volume Kubus


<head>
<title>Menghitung  Volume Kubus</title>
</head>
<center>
 <body bgcolor="pink">
<?php

$teks1 = "Belajar Menghitung";
$teks2 = " Volume Kubus";
$hasil = $teks1 . $teks2;
echo "$hasil";


$s=15;
echo"<table border='2' bgcolor='black' style='color:pink'><tr><th colspan='2'<br>Panjang Sisi Kubus = $s<br>\n";
$volume=$s * $s *$s;
echo "Volume Kubus = $volume cm3";
?>

Hasil :



Nama   : Agung Arpan
Nim     : 12160029
Kelas  :  12.5D.11

Thursday, September 20, 2018

Tugas Web 1

                                                       Source Code Tugas Web 1
<html>
<head>
<title>Daftar Produk </title>
</head>
<body bg background="hitam.jpg"height="500" width="400">
<body>
<body widht="50%" bgcolor="white" text="white"><br>
<center>
<b>WELCOME TO MY STORE<br>
<table border="1" width="50%" cellspacing="5" cellpadding="5">
<tr>
<h2>
<th bgcolor="00CCFF" colspan="4">DAFTAR PRODUK</th>
</tr>
<tr>
<th rowspan="4">
<img src="kamera.jpg" widht="150px"/>
</th>
</tr>
<td bgcolor="44ff48" colspan="2">Nama Produk</td>
<td bgcolor="black">Canon EOS M10 EF-M 15-4mm</td>
</tr>
<tr>
<td bgcolor="f2e25e" colspan="2">Harga</td>
<td bgcolor="f441dd">Rp 4,899,000</td>
</tr>
<tr>
<td bgcolor="efa4b7" colspan="2">Fitur Produk
<td bgcolor="31aedc"> *kamera mirolless<br>
*Efektivitas Pixel : 18 MP<br>
*Tipe Sensor : CMOS DIGIC 6<br>
*Layar : 3.0 Inch<br>
*Memiliki Lampu Flash Dengan Jarak Jangkauan Hingga 5 meter</td>
</center>
</tr>
</table>
</body>
</html>

Hasil :


Nama : Agung Arpan
Nim    : 12160029
Kelas : 12.5D.11