Do you always have to add a border to a table tag to show the table in a correct way? So like this <table border="2"> or is only <table> enough? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Do you always have to add a border to a table tag to show the table in a correct way? So like this <table border="2"> or is only <table> enough?

Is border in table neccesary?

8th Oct 2016, 6:53 PM
Maik Kempen
Maik Kempen - avatar
2 Answers
+ 2
Do a border of at least 1px for it to show.
8th Oct 2016, 7:48 PM
Cohen Creber
Cohen Creber - avatar
+ 1
You dont need to define a border unless you want to <table>table elements</table> will create a table without borders
10th Oct 2016, 10:03 PM
Allison Wykle
Allison Wykle - avatar