Cognizant interview question

HTML table based questions-TR,TD expansion