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
2 Antworten
+ 4
Could you show an example. Try this with css
table {
border: 1px solid blue;
}
+ 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 :)