0

If the table border isn't supported in HTML 5, then what's usually use in HTML 5?

2nd Apr 2020, 4:26 PM
Intan Shafa
Intan Shafa - avatar
4 Réponses
+ 2
Basically styling of HTML is recommended using CSS not HTML attributes. Using the CSS border property for adding a border to your tables. To add a border to your table you need to define the <style> of your table. Remember to add borders also for <th> and <td> tags to have a complete table. HTML 5 is updated version of HTML so unnecessary features are removed and more important features are added.
2nd Apr 2020, 5:15 PM
Vikas Yadav
Vikas Yadav - avatar
+ 1
Gordon It could be cases where using table make more semantical sense than using other elements with flexbox or grid system (and in that case, default table behavior is enough) ^^
2nd Apr 2020, 5:43 PM
visph
visph - avatar
0
The css 'border' property ^^ (Less obvious, the cellpadding and cellspacing attribute must be replaced by cell (<td>) 'padding' and table 'border-spacing' css properties)
2nd Apr 2020, 5:15 PM
visph
visph - avatar
0
use flexbox and grid system
2nd Apr 2020, 5:38 PM
Gordon
Gordon - avatar