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 div short for?

0 Answers  


How can I use tables to structure forms?

0 Answers  


What is dhtml with example?

0 Answers  


How do you use a br tag?

0 Answers  


What is the difference between <strong>, <b> tags and <em>, <i> tags?

1 Answers  






What is innerhtml?

0 Answers  


What is the relation between xhtml and the web?

0 Answers  


How do I find the url for my email?

0 Answers  


Does html5 work on internet explorer?

0 Answers  


What are html5 tags?

0 Answers  


What is a tag in html?

0 Answers  


What is the significance of <head> and <body> tag in HTML?

1 Answers  


Categories