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

How do I start html coding?

0 Answers  


What is the difference between active link and normal link in html?

0 Answers  


What is html and how is it used?

0 Answers  


Explain html5 graphics.

0 Answers  


Do all HTML tags come in a pair?

0 Answers  






What is the section tag?

0 Answers  


How can you define dtd in xhtml?

0 Answers  


What does </ p mean in html?

0 Answers  


How many HTML tags are should be used for the most simple of web pages?

0 Answers  


What is the use of mathml element in html5?

0 Answers  


What is html explain?

0 Answers  


Is meta title important?

0 Answers  


Categories