GSNA · Question #183
Which of the following statements is true about COLSPAN attribute?
The correct answer is D. COLSPAN is used to span one column across many columns. COLSPAN attribute is used to span one column across many columns. COLSPAN is an attribute of <TD> and <TH> tags that allow a single column in a table to take space that is occupied by several columns. If the specified COLSPAN value is greater than the number of columns in the…
Question
Which of the following statements is true about COLSPAN attribute?
Options
- ACOLSPAN is used to create columns in a table.
- BCOLSPAN is used to divide one column into many columns.
- CCOLSPAN is used to span one column across many rows.
- DCOLSPAN is used to span one column across many columns.
How the community answered
(20 responses)- A5% (1)
- B10% (2)
- C5% (1)
- D80% (16)
Explanation
COLSPAN attribute is used to span one column across many columns. COLSPAN is an attribute of <TD> and <TH> tags that allow a single column in a table to take space that is occupied by several columns. If the specified COLSPAN value is greater than the number of columns in the table, then a new column is created at the end of the row.
Topics
Community Discussion
No community discussion yet for this question.