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 is the difference between progress and meter tag?

0 Answers  


What is the difference between br and br />?

0 Answers  


Is the br tag deprecated?

0 Answers  


What is html beginform?

0 Answers  


What are keywords in seo?

0 Answers  






How do you align a table to the right (or left)?

0 Answers  


What is tag facebook?

0 Answers  


Can I nest tables within tables?

0 Answers  


What is the use of <fieldset>?

0 Answers  


How do you insert an email link in html?

0 Answers  


Which is the earliest markup language?

0 Answers  


What are dom methods?

0 Answers  


Categories