Tuesday 17 July 2012

How to create Table headers in html


<!DOCTYPE html>
<html>
<body>

<h4>Table headers:</h4>
<table border="1">
<tr>
  <th>Name</th>
  <th>Telephone</th>
  <th>Telephone</th>
</tr>
<tr>
  <td>Bill bore</td>
  <td>555 77 888</td>
  <td>555 77 888</td>
</tr>
</table>

<h4>Vertical headers:</h4>
<table border="1">
<tr>
  <th>First Name:</th>
  <td>Bill bore</td>
</tr>
<tr>
  <th>Telephone:</th>
  <td>555 77 888</td>
</tr>
<tr>
  <th>Telephone:</th>
  <td>555 77 888</td>
</tr>
</table>

</body>
</html>

0 Responses to “How to create Table headers in html”

Post a Comment