Span a <td> element across two columns


#1


Replace this line with your code. 

i don't understand what is span a <td> element across two columns , hope you guy can help me


#2

Please provide a link to the exercise you are on :slight_smile:


#3

with the 'colspan' attribute you can make the width of 1 'td' element, span(cover the width) over more than 1 colomn in a table. for example:

<table>
  <tr>
       <td colspan="2">span over 2 td elements</td>
  </tr>
  <tr>
      <td>first td</td>
      <td>second td</td>
  </tr>
</table>

you can see it more clearly in this link:
https://jsfiddle.net/kifkaf007/Lu2691zr/


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.