0
If the table border isn't supported in HTML 5, then what's usually use in HTML 5?
4 ответов
+ 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.
+ 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) ^^
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)
0
use flexbox and grid system