Learn HTML part 23

The border and colspan attributes

A border can be added using the border attribute:-
<table border="2">
A Table cell can span two or more columns:-

For an example 
๐Ÿ‘‡ ๐Ÿ‘‡ ๐Ÿ‘‡ 
<table border="2">
<tr>
<td> First </td>
<td> Second </td>
<td> Third </td>
</tr>
<tr>
<td><br/></td>
<td colspan="2"><br/></td>
</tr>
</table>

Result



Post a Comment

0 Comments