Selasa, 25 Oktober 2011

contoh html (table)

<HTML>
<HEAD>
<TITLE>MEMBUAT TABEL</TITLE>
<BODY BGCOLOR="RED">
<TABLE ALIGN="CENTER" BORDER=1 BGCOLOR="PURPLE">
<TR>
  <TH ALIGN="CENTER" BGCOLOR="PINK">NO.</TD>
  <TH ALIGN="CENTER" BGCOLOR="PINK">NAMA
LENGKAP</TD>
  <TH ALIGN="CENTER" BGCOLOR="PINK">KELAS</TD>
  <TH ALIGN="CENTER" BGCOLOR="PINK">NILAI TIK</TD>
</TR>

<TR>
  <TD ALIGN="CENTER">1.</TD>
  <TD>IQBAL</TD>
  <TD ALIGN="CENTER">XI IPS</TD>
  <TD ALIGN="CENTER">100</TD>
</TR>

<TR>
  <TD ALIGN="CENTER">2.</TD>
  <TD>HAPIZ</TD>
  <TD ALIGN="CENTER">XI IPS</TD>
  <TD ALIGN="CENTER">90</TD>
</TR>

<TR>
  <TD ALIGN="CENTER">3.</TD>
  <TD>PRAWIRA</TD>
  <TD ALIGN="CENTER">XI IPS</TD>
  <TD ALIGN="CENTER">95</TD>
</TR>

<TR>
  <TD ALIGN="CENTER">4.</TD>
  <TD>HEI</TD>
  <TD ALIGN="CENTER">XI IPS</TD>
  <TD ALIGN="CENTER">85</TD>
</TR>

<TR>
  <TD ALIGN="CENTER">5.</TD>
  <TD>BRAY</TD>
  <TD ALIGN="CENTER">XI IPS</TD>
  <TD ALIGN="CENTER">89</TD>
</TR>

<TR>
  <TD ALIGN="CENTER">6.</TD>
  <TD>CLUSTER</TD>
  <TD ALIGN="CENTER">XI IPS</TD>
  <TD ALIGN="CENTER">97</TD>
</TR>

<TR>
  <TD ALIGN="CENTER">7.</TD>
  <TD>A7X</TD>
  <TD ALIGN="CENTER">XI IPS</TD>
  <TD ALIGN="CENTER">100</TD>
</TR>

<TR>
  <TD ALIGN="CENTER">8.</TD>
  <TD>WAK</TD>
  <TD ALIGN="CENTER">XI IPS</TD>
  <TD ALIGN="CENTER">81</TD>
</TR>

</TABLE>
</BODY>
</HTML>

Tidak ada komentar:

Posting Komentar