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 the relation between xhtml and css?

597


How to create a hello world page in xhtml?

586


How we can display our web page icon in browser using html?

609


What is an alt tag for an image?

554


Does html5 work on internet explorer?

638


What are the three main aims of html5?

775


What are the different types of storage in HTML 5?

686


What does the a tag stand for?

620


Is br a container tag?

583


What are the web storages present in html5?

615


What is doctype used for in html?

598


How do you get a picture in html?

561


What does a html stand for?

572


What is the advantage of collapsing white space?

659


What are the advantages of html?

641