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!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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
Maik - avatar
2 ответов
+ 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