Getting Started – Table 2 Introduction to HTML 4.0 Getting Started – Table 2 Teacher: Mr. Ho
rowspan Attribute rowspan is <td>’s attribute. rowspan merges the rows <table border=“1” cellspacing=“0” cellpadding=“2”> <tr> <td>Row 1, Cell 1</td> <td rowspan=“2”>Hello World!</td> </tr> <td>Row 2, Cell 1</td> </table>
colspan Attribute colspan is <td>’s attribute. colspan merges the columns <table border=“1” cellspacing=“0” cellpadding=“2”> <tr> <td>Row 1, Cell 1</td> <td>Row 1, Cell 2</td> </tr> <td colspan=“2”>Hello World! ABC</td> </table>
Questions & Answers Do you have any questions so far? If you do, please ask now.