![]() |
|
Advanced HTML Tables, Free online HTML Tutorial, Learn HTML online for free... |
| Lessons | Advanced HTML Tables |
|
||||||||
|
The attributes of <table> tag: We can change the appearance of a table by using its attributes. cellspacing=" " cellpadding=" " border=" " width="" <table cellspacing="2" cellpadding="3" border="5" width="100%">
<tr>
<th>Name</th>
<th>Age</th>
</tr>
<tr>
<td>Mr. A</td>
<td>10 Years</td>
</tr>
<tr>
<td>Mr. B</td>
<td>20 Years</td>
</tr>
<tr>
<td>Mr. Z</td>
<td>60 Years</td>
</tr>
</table>
This HTML will be displayed as:
Next >>> Lesson No. 18: Advanced HTMLTables 2
|