Tables are designed to clearly communicate tabular data. Never use tables for layout. If you want columns but your content isn’t data then use the column or sidebar block instead.

A table using default styles — no alignment, no stripes, flexible columns — with bolded column headings.

CountryAreaPopulationGDPCapital
Austria83,8588,169929339Vienna
Belgium30,52811,007,000410Brussels
Denmark43,0945,564,219271Copenhagen
France547,03066,104,0002,181Paris
Germany357,02180,716,0003,032Berlin

Tables can also be set to fixed columns, which will lock the column widths to be even with each other. This table has fixed columns and a striped style.

CountryAreaPopulationGDPCapital
Austria83,8588,169929339Vienna
Belgium30,52811,007,000410Brussels
Denmark43,0945,564,219271Copenhagen
France547,03066,104,0002,181Paris
Germany357,02180,716,0003,032Berlin

Tables can be aligned similar to other blocks (none, left, right, center, wide, and full).

CountryAreaPopulationGDPCapital
Austria83,8588,169929339Vienna
Belgium30,52811,007,000410Brussels
Denmark43,0945,564,219271Copenhagen
France547,03066,104,0002,181Paris
Germany357,02180,716,0003,032Berlin

Setting a table to align right or left will also set them to “auto” width, so their width will vary based on the table contents.

This table is right aligned with otherwise default styles.

Source

The Tables block is a WordPress-created core block that is built in to WordPress.