Basic HTML

 
 
          

Table >> Border

 

Borders

First, in creating a table in HTML, we use the tag <table> and </table> in order for us to create a table.


Below is the different thicknes of table borders:

HTML Code Sample Output
<table border=1>
<tr>
<th>Border = 1
<tr>
<td>Sample Text
</table>
Border = 1
Sample Text
<table border=5>
<tr>
<th>Border = 5
<tr>
<td>Sample Text
</table>
Border = 5
Sample Text
<table border=10>
<tr>
<th>Border = 10
<tr>
<td>Sample Text
</table>
Border = 10
Sample Text

Background >> Image Table >> Resizing