0

How to set the table border color in HTML?

I used bgcolor="" within the border tag and whole table became black. Please help

10th Jun 2019, 2:29 PM
Mohit Uniyal
Mohit Uniyal - avatar
4 Respuestas
+ 8
Unfortuantely, the methods of changing border colors in HTML is quickly becoming obselete in many browers. Now we use CSS. For example . table{ border: 1px solid black; } Hope this helps!!
10th Jun 2019, 2:36 PM
River
River - avatar
+ 7
Satnam Singh The HTML way is not supported in some browers now. Best to get into habit of CSS 😁
10th Jun 2019, 2:41 PM
River
River - avatar