Open Source Tutorials - Open Source Training
Open source training & tutorials from experienced, passionate people
chrome icon firefox icon ie icon opera icon safari icon Sings in these Browsers
A- A A+

By A Web Design

Welcome, Guest
Username Password: Remember me

Different number of cells for each row of a table
(1 viewing) (1) Guest
All your queries regarding HTML will be solved in this forum
  • Page:
  • 1
TOPIC:

Different number of cells for each row of a table

Different number of cells for each row of a table 1 year, 4 months ago #410

  • isaac
  • OFFLINE
  • Senior Boarder
  • Posts: 64
  • Karma: 0
How can we have different number of cells for each row of a table in HTML?

Re: Different number of cells for each row of a table 1 year, 4 months ago #470

  • sandhya
  • OFFLINE
  • Senior Boarder
  • Posts: 42
  • Karma: 0
By using the "colspan" attribute of the <td> tag.

For Example:

<table>

<tr>
<td>Column 1</td>
<td>Comumn 2</td>
</tr>

<tr>
<td colspan="2">Column1 & Column 2</TD>
</tr>

</table>
  • Page:
  • 1
Time to create page: 1.19 seconds
OSV Newsletter


Receive HTML?

NOTE: To prevent subscription to the OSV newsletter, uncheck the checkbox above.
Guest Blog for OSV
Free Ebook Download