value 2 in border atribute <table> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

value 2 in border atribute <table>

Why should there be the value 2 in the border attribute between table tag eg. <table border="2">

4th May 2017, 11:29 AM
Binsar Saragih
Binsar Saragih - avatar
2 Answers
+ 3
'border' html <table> attribute is deprecated in html5: use css 'border' property instead ^^
4th May 2017, 2:46 PM
visph
visph - avatar
+ 2
Border is a property of the thickness of the border In this case 2px
4th May 2017, 11:52 AM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar