<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style>
h1{
background-color:#0000FF;
color:#FFFF00;
font-size:24px;
font-family:Arial, Helvetica, sans-serif;
text-align:center;
}
</style>
</head>
<body>
<h1>POHON NATAL TEKNIK INFORMATIKA 2013</h1>
<table align="center" bgcolor="black">
<script>
var dx,i,j;
dx=1;
for (i=1;i<=15;i++)
{
document.write("<tr><td align=center>");
for (j=1;j<=dx;j++)
{
if (j % 2 == 0)
document.write("<blink><font color=red>*</font></blink>");
else
document.write("<font color=yellow>*</font>");
}
dx=dx+2;
document.write("</td></tr>");
}
for (i=1;i<=5;i++)
{
document.write("<tr><td align=center>");
for (j=1;j<=3;j++)
{
document.write("<font color=white>*</font>");
}
document.write("</td></tr>");
}
</script>
</table>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style>
h1{
background-color:#0000FF;
color:#FFFF00;
font-size:24px;
font-family:Arial, Helvetica, sans-serif;
text-align:center;
}
</style>
</head>
<body>
<h1>POHON NATAL TEKNIK INFORMATIKA 2013</h1>
<table align="center" bgcolor="black">
<script>
var dx,i,j;
dx=1;
for (i=1;i<=15;i++)
{
document.write("<tr><td align=center>");
for (j=1;j<=dx;j++)
{
if (j % 2 == 0)
document.write("<blink><font color=red>*</font></blink>");
else
document.write("<font color=yellow>*</font>");
}
dx=dx+2;
document.write("</td></tr>");
}
for (i=1;i<=5;i++)
{
document.write("<tr><td align=center>");
for (j=1;j<=3;j++)
{
document.write("<font color=white>*</font>");
}
document.write("</td></tr>");
}
</script>
</table>
</body>
</html>
Tidak ada komentar:
Posting Komentar