Table Heading

Table heading tags <th> ... </th> are used to designate a cell as a header. These tags should be used with in <tr> ... </tr>. By default, the content of the header row is center aligned and appears in bold face.

          Example:

          <table border=1>
              <tr>
                <th>Cell 1 </th>
                <th>Cell 2 </th>
                </tr>
                <tr>
                <td>Cell 3 </td>
                <td>Cell 4 </td>
                </tr>
          </table>

          Above code defines a table with two rows and four cells as below.

             
Cell 1 Cell 2
Cell 3 Cell 4

Table Row

Be the first to post comment on this article :


Google+

Post Comment This is for short comments only. Use the forum for more discussions.






OPINION POLL

What is the most important factor of a web site
HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2015 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer