Computer Science, asked by Nadimlakhani97, 5 months ago

3. Write the HTML code to prepare a table
->minimum two columns and four rows
->color alternative rows with any color​

Answers

Answered by Anonymous
1

Answer:

<TABLE border="1"

summary="This table gives some statistics about fruit

flies: average height and weight, and percentage

with red eyes (for both males and females).">

<CAPTION><EM>A test table with merged cells</EM></CAPTION>

<TR><TH rowspan="2"><TH colspan="2">Average

<TH rowspan="2">Red<BR>eyes

<TR><TH>height<TH>weight

<TR><TH>Males<TD>1.9<TD>0.003<TD>40%

<TR><TH>Females<TD>1.7<TD>0.002<TD>43%

</TABLE>

Similar questions