Answer the question
In order to leave comments, you need to log in
Why is a table on an HTML page out of line?
Hello!
I'm learning HTML, and practicing, I got this problem:
First name Last name Middle name Date of birth Andrey Andreevich Andreev 10/09/1989
Here is the code:
<table border>
<tr>
<th>Имя</th>
<th>Фамилия</th>
<th>Отчество</th>
<th>Дата рождения</th>
<td>Андрей</td>
<td>Андреевич</td>
<td>Андреев</td>
<td>09.10.1989</td>
</tr>
</table>
Answer the question
In order to leave comments, you need to log in
Name | Surname | Surname | Date of Birth |
---|---|---|---|
Andrei | Andreevich | Andreev | 10/09/1989 |
<table border>
<tr>
<th>Имя</th>
<th>Фамилия</th>
<th>Отчество</th>
<th>Дата рождения</th>
</tr>
<tr>
<td>Андрей</td>
<td>Андреевич</td>
<td>Андреев</td>
<td>09.10.1989</td>
</tr>
</table>
<table border>
<thead>
<tr>
<th>Имя</th>
<th>Фамилия</th>
<th>Отчество</th>
<th>Дата рождения</th>
</tr>
</thead>
<tbody>
<tr>
<td>Андрей</td>
<td>Андреевич</td>
<td>Андреев</td>
<td>09.10.1989</td>
</tr>
</tbody>
</table>
Good afternoon.
There is only one in your code - tr(table row). If you want more lines, make more tr.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question