- 1
HTML TABLE
I have an html table with two row with four column each other. I want to merge two column of the second row. How should I code?
6 ответов
+ 1
<table>
<tr>
<td colspan="2"></td>
</tr>
<table>
+ 3
<table>
<tr>
<td>cell 1</td>
<td>cell 2</td>
</tr>
<tr>
<td colspan="2">cell 3</td>
</tr>
</table>
+ 2
@Nikola: I think that @Loai wanted show example of a table with at least one row without colspan ( as colspan isn't necessary if only one row ;P )
+ 2
He corrected code in meanwhile xD @visph
+ 1
use attribute colspan :)
0
You do not need on top <tr> and <table>, it is unnecessary @Loai :)