Question 42Asked in DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2

Which attribute in HTML table tag defines the number of columns in a column group?

  1. ABorder
  2. BColspan
  3. CRowspan
  4. DSpan
Show answerHide answer

Correct answer: (D) Span

Explanation

The span attribute of <colgroup> or <col> sets how many columns the group covers. Colspan and rowspan are used on table cells (td or th).

From DSSSB TGT Computer Science PYQ (Technical), 8 Aug 2021, Shift 2

This is question 42 of DSSSB TGT Computer Science PYQ (Technical), 8 Aug 2021, Shift 2. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.