Tuesday 17 July 2012

How to create Different table borders using html


<!DOCTYPE html>
<html>
<body>

<h4>With a normal border:</h4>
<table border="1">
<tr>
  <td>1</td>
  <td>2</td>
</tr>  
<tr>
  <td>3</td>
  <td>4</td>
</tr>
</table>

<h4>With a thick border:</h4>
<table border="8">
<tr>
  <td>1</td>
  <td>2</td>
</tr>  
<tr>
  <td>3</td>
  <td>4</td>
</tr>
</table>

<h4>With a very thick border:</h4>
<table border="15">
<tr>
  <td>1</td>
  <td>2</td>
</tr>  
<tr>
  <td>2</td>
  <td>2</td>
</tr>
</table>

</body>
</html>


In the numbers field insert what you want inside tables

0 Responses to “How to create Different table borders using html”

Post a Comment