Q8. Consider the following html code. What does the command rowspan=2 does?
<td rowspan=2>Cell A & D</td><td>Cell B</td><td>Cell C</td>
A. This produces two different columns separated by a border
B. This allows the cell to span two rows
C. This allows the cell to span two columns
D. This produces two different rows separated by a border
Correct Answer: B
The attribute rowspan=2 allows that cell to span two rows. If you want a cell to span more than column, use the colspan=n attribute.
Disclaimer: Simulationexams.com is not affiliated with any certification vendor, and Sim-Ex™ Practice Exams are written independently by SimulationExams.com and not affiliated or authorized by respective certification providers. Sim-Ex™ is a trade mark of SimulationExams.com or entity representing Simulationexams.com.CIW® is a trademark of Prosoft™