Html vs css table table

I recently asked a question here , and one answer suggests using the display: table and display: properties of the cc-table-cell.

Usually, UI developers recommend not using tables for layout. What if I use these two css properties extesively during linking? Is this the same as using tables for layout?

+7
html css
source share
2 answers

A mapping table allows an element to behave like an element without using an HTML table element, so you will probably have more flexibility in your design. Thus, you will have the advantages of a table and the flexibility of developing without a table, because tables are always difficult and difficult to work with.

+3
source share

Not. HTML tables show that their contents are tabular. This information extends to the Accessibility API, so accessibility tools, such as screen readers, can tell their users what to expect in the following information. Please note that cell headers can be read several times so that the AT user can navigate while executing the data.

CSS tables do not behave this way. These are just mock instructions. Information about the data that the AT user receives will display the semantics of the HTML, not the CSS layout.

+12
source share

All Articles