Which attribute makes a table cell span across three columns?
-
A
cols="3"
-
B
colspan="3"
Correct answer
-
C
span="3"
-
D
rowspan="3"
Correct answer
B. colspan="3"
18 views
Explanation
colspan merges cells horizontally, and rowspan merges them vertically. Both are set on
or | elements. |
Reference
Asked in: NTS, Web Developer Interviews
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ