0
[Solved] How to correctly create tables?
Problem: Incorrect structure https://code.sololearn.com/WhsHSr346S1L/?ref=app
6 Antworten
+ 1
Are you purely using html? you can look at my table if you need help! Andd idk if this answers your question at all and I'm sorry if it doesn't!
https://code.sololearn.com/WSL28d5NW1EG/?ref=app
+ 1
You need to put the cell data within <td> tags within your <tr> tags.
+ 1
The format (html only - no css styling)
<table border="1">
<tr>
<td>text</td>
<td>text or img</td>
</tr>
<tr>
<td>more content</td>
<td>more stuff</td>
</tr>
</table>
+ 1
Leaving this question here for future instance
+ 1
You can research colspan and rowspan for your tables too. Good practice too is to upvote if someone helped you.
Code looks good now.
+ 1
Shadow If you are leaving this here to help future people, it may help even more to keep a relevant title so it can be found more easily. Maybe something like "[SOLVED] Table border appearing below table" so if someone else searches for that, this will come up.