The table comprises of columns and rows so through this coding you will easily understand the concept of "colspan and rowspan" .