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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is div tag?

476


What are the different types of Headings supported by HTML?

474


Explain various html list tags.

463


What is the sessionstorage object in html5?

469


What is meta description tag example?

438






What is html short answer?

466


What is hyperlink? Why it is used?

486


How do I make flash always enabled?

435


what is the best institute for web designing in Hyderabad?

894


What does the head tag mean?

458


What is emphasized text?

444


What is the basic structure of an html document?

524


What is the main function of dom?

447


What is meant by innerhtml?

532


What is meta viewport?

433