Theme: Tables | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Theme: Tables

I have a table in HTML. I want to change the color of the border. Is this possible? If so, how do I do it?

29th Mar 2023, 3:18 PM
๐•ƒ๐•š๐•ฅ๐•ฅ๐•๐•–๐•†๐•ฅ๐•ฅ๐•–๐•ฃ
๐•ƒ๐•š๐•ฅ๐•ฅ๐•๐•–๐•†๐•ฅ๐•ฅ๐•–๐•ฃ - avatar
2 Answers
+ 4
๐•ƒ๐•š๐•ฅ๐•ฅ๐•๐•–๐•†๐•ฅ๐•ฅ๐•–๐•ฃ Yes ,it's possible.. Simple method.. Use in CSS border:20px solid black;
29th Mar 2023, 4:03 PM
Darpan kesharwani๐Ÿ‡ฎ๐Ÿ‡ณ[Inactive๐Ÿ“š]
Darpan kesharwani๐Ÿ‡ฎ๐Ÿ‡ณ[Inactive๐Ÿ“š] - avatar
+ 2
use the attribute bordercolor="#color_val" in the <table> tag
29th Mar 2023, 3:44 PM
I am offline
I am offline - avatar