0

[Solved] How to correctly create tables?

Problem: Incorrect structure https://code.sololearn.com/WhsHSr346S1L/?ref=app

4th Nov 2019, 7:58 PM
OverdrivedProgrammer
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
4th Nov 2019, 8:10 PM
Drea
Drea - avatar
+ 1
You need to put the cell data within <td> tags within your <tr> tags.
4th Nov 2019, 8:38 PM
Russ
Russ - avatar
+ 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>
5th Nov 2019, 12:46 AM
Xyenia 🦉
Xyenia 🦉 - avatar
+ 1
Leaving this question here for future instance
5th Nov 2019, 9:44 AM
OverdrivedProgrammer
+ 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.
5th Nov 2019, 11:03 AM
Xyenia 🦉
Xyenia 🦉 - avatar
+ 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.
5th Nov 2019, 2:35 PM
Russ
Russ - avatar