How can you have different number of cells for each row of
a table?

Answers were Sorted based on User's Feedback



How can you have different number of cells for each row of a table? ..

Answer / todd vernon

By using the COLSPAN attribute of the <TD> tag.

Example:

<TABLE>
<TR>
<TD>Column 1</TD>
<TD>Comumn 2</TD>
</TR>
<TR>
<TD COLSPAN = "2">Column1 & Column 2</TD>
</TR>
</TABLE>

Is This Answer Correct ?    9 Yes 6 No

How can you have different number of cells for each row of a table? ..

Answer / ravi

Answer posted by Rakesh (@ above) is wrong.

Is This Answer Correct ?    1 Yes 0 No

How can you have different number of cells for each row of a table? ..

Answer / rakesh

<TABLE>
<TR>
<TD>&nbsp;</TD>
<TD>&nbsp;</TD>
</TR>
<TR>
<TD>&nbsp;</TD>
<TD>&nbsp;</TD>
</TR>
</TABLE>

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More HTML DHTML Interview Questions

What are the new image elements in HTML5?

0 Answers  


What is the use of Canvas Element in HTML5?

0 Answers  


How do I make sure my framed documents are displayed inside their frameset?

0 Answers  


Why isn't XHTML2 backwards compatible?

1 Answers  


How to make text vertical allign center in div.

0 Answers  






How do you insert a comment in HTML?

0 Answers  


In html5, what is a microdata?

0 Answers  


Which type of video formats are supported by html5?

0 Answers  


What is html and its functions?

0 Answers  


What are some new input attributes in HTML5?

0 Answers  


Tell me what purpose does html5 serve?

0 Answers  


Is meta title important?

0 Answers  


Categories