Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
+1 vote
161 views
in Programming by (114k points)
closed by

Consider the following HTML table definition:

<table border = 1>

<tr>

<td colspan = 2> Text A </td>

</tr>

<tr>

<td> Text B </td>

<td> Text C </td>

</tr>

<tr>

<td rowspan = 2> Text D < /td>

<td> Text E </td>

</tr>

<tr>

<td> Text F </td>

</tr>

</table>

The above HTML code would render on screen as:


1.

Text A

 

Text B

Text C

Text D

Text E

Text F

 


2.

Text A

Text B

Text C

Text D

Text E

Text F


3.

Text A

Text B

Text C

Text D

Text E

Text F


4.

Text A

Text B

Text C

Text D

Text E

Text F

1 Answer

0 votes
by (113k points)
selected by
 
Best answer
Correct Answer - Option 3 :

Text A

Text B

Text C

Text D

Text E

Text F


The correct answer is option 3.

<table border = 1>

<tr>                                                       //Creating table row
<td colspan = 2> Text A </td>               //Table data is "Test A" and merging 2 columns.
</tr>                                                     //Ending table row
<tr>                                                     //Creating table row
<td> Text B </td>                               //Table data is "Test B"
<td> Text C </td>                             //Table data is "Test C"
</tr>                                                //Ending table row
<tr>                                                //Creating table row
<td rowspan = 2> Text D < /td>    //Table data is Test D and merging 2 rows
<td> Text E </td>                          //Table data is "Test E"
</tr>                                            //Ending table row
<tr>                                            //Creating table row
<td> Text F </td>                      // Table data is "Test F"
</tr> 
</table>

∴ Hence the correct answer is

Text A

Text B

Text C

Text D

Text E

Text F

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...