0

html5 doesnt support the border attribute

on the table part of the html course it says html5 doesn't support the border attribute I was just wondering what would we use to define the border or is it already added when we do the table element we automatically get the border or what would we do

19th Sep 2019, 7:21 PM
joe rodriguez
joe rodriguez - avatar
2 odpowiedzi
+ 4
Could you show an example. Try this with css table { border: 1px solid blue; }
19th Sep 2019, 7:54 PM
Minerals2016
Minerals2016 - avatar
+ 1
Nowadays it's uncommon to style elements using html attributes. It's better to apply styling through CSS. Also CSS can not only style borders but basically everything :)
19th Sep 2019, 7:55 PM
Aaron Eberhardt
Aaron Eberhardt - avatar