Which attribute in HTML table tag defines the number of columns in a column…
2021
Which attribute in HTML table tag defines the number of columns in a column group?
Answer: D. span — The attribute used to define the number of columns in a column group is span.This attribute is used within the <colgroup> or <col> tags to apply styles or…
- A.
border
- B.
colspan
- C.
rowspan
- D.
span
Attempted by 423 students.
Show answer & explanation
Correct answer: D
The attribute used to define the number of columns in a column group is span.This attribute is used within the <colgroup> or <col> tags to apply styles or structural rules to multiple columns simultaneously without repeating the code for every individual cell.
Loading lesson…