Selamat Datang di Website Kami
Guest Book

Sunday 18 March 2012

Creating an HTML Table

Previously I've discussed the basics of making those who have not read html can view HERE. Now we go about making the next ketahap html table. As with making article table located inside the body and we can also membari variation of background and color table as we want. Immediately, we started to make.


In making the table in need of tag

 <table> </table> = tag untuk memulai mebuat table
 <tr> </tr> = table row
<th> </th> = table heading
<td> </td> =table data/isi table
<table border=1> </table> = tag untuk memberikan warna pada garis table
    

» The following script form

   <head>
      <title> Belajar  </title>
  </head>
  <body>
  <h1> Belajar Html</h1>

  <table border=1>
 <tr>
 <th>no</th> <th> table</th>
 </tr>

  <tr>
 <td>1</td> <td> table 1</td>
 </tr>

 </body>
</html>


2. Creating a table background

We can member i variations in the color table to table or replace the member with the picture. But first we have to merge into a single table with the command <div>

Here's how to write the script
   <head>
      <title> Belajar  </title>
  </head>
  <body>
  <h1> Belajar Html</h1>

<div align=center>
  <table bgcolor=#202020 border=1>
  <tr>
  <th>no</th> <th> table</th>
  </tr>

  <tr>
 <td>1</td> <td> table 1</td>
 </tr>p

 </body>
</html>

0 komentar:

Post a Comment