Syntax

Report a typo

Choose the right variants of code for creating a table.

A)

<tb>
  <tr>
    <td>Name</td>
    <td>Email</td>
  </tr>
  <tr>
    <td>George Martin</td>
    <td>[email protected]</td>
  </tr>
</tb>

B)

<table>
  <tr>
    <th>Name</th>
    <th>Email</th>
  </tr>
  <tr>
    <td>George Martin</td>
    <td>[email protected]</td>
  </tr>
</table>

C)

<table>
  <tb>
    <tr>Name</tr>
    <tr>Email</tr>
  </tb>
  <tb>
    <tr>George Martin</tr>
    <tr>[email protected]</tr>
  </tb>
</table>

D)

<table border="2">
  <tr>
    <th>Name</th>
    <th>Email</th>
  </tr>
  <tr>
    <td>George Martin</td>
    <td>[email protected]</td>
  </tr>
</table>
Select one or more options from the list
___

Create a free account to access the full topic