+ 3
HTML how ROWSPAN works¿¿
Hey!! Hey please check this program, rowspan isnt effective!! Its not taking two rows in one column! https://code.sololearn.com/WTx3zAWyAwaE/?ref=app
11 Antworten
+ 2
<!-- Created by M J -->
<!--How to do rowspan? I don't know!-->
<html>
</body>
<table border="10">
<tr>
<td>Red</td>
<td>Blue</td>
<td>Green</td>
<td>Violet</td>
<td>Pink</td>
</tr>
<tr>
<td><br /></td>
<td colspan="2">What color?</td>
<td></br></td>
<td>LoL</td>
</tr>
<tr>
<td rowspan="2"> Hgg </td>
<td rowspan="2"> hhn </td>
<td rowspan="2"> hhhj </td>
<td rowspan="2"> hhhh </td>
<td rowspan="2"> hhhh </td>
</tr>
<tr></tr>
</table>
</body>
</html>
You should add only a empty <tr> element
+ 5
<!--How to do rowspan? I don't know!-->
<html>
</body>
<table border="10">
<tr>
<td>Red</td>
<td>Blue</td>
<td>Green</td>
<td>Violet</td>
<td>Pink</td>
</tr>
<tr>
<td><br /></td>
<td colspan="2">What color?</td>
<td></br></td>
<td>LoL</td>
</tr>
<tr>
<td rowspan="2"> Hgg </td>
<td rowspan="2"> hhn </td>
<td rowspan=""> hhhj </td>
<td rowspan=""> hhhh </td>
<td rowspan=""> hhhh </td>
</tr>
<tr>
<td>A</td>
<td>A</td>
<td>A</td>
</tr>
</table>
</body>
</html>
Try this I think it will be helpful
+ 4
Muhammadamin Thanks bro!!🙃
+ 3
Aha thanks👍
+ 3
Muhammadamin understood, thanx 🙃🙃🙃
+ 3
It just simply expands the supposed number of rows, making the cell(<td>) take more than a row
+ 2
You are welcome
+ 2
Muhammadamin Can you make it show 5 blank rowspans of value "2" ??¿
+ 2
Great👍
+ 2
Promise F. Akpan-Fred Yes !! Know it
+ 1
Muhammadamin ,Yes , it work . 💯