Web tables use colspan and rowspan to merge cells. A CSV file cannot do that: every row has the same number of columns. A plain copy-and-paste often shifts the values after a merged cell one column to the left, so the data ends up under the wrong heading.
When a cell spans several columns or rows, put its value in the first position and fill the other positions it covers, so every row has the same width. Some tools leave the covered positions empty and some repeat the value. Repeating is safer for sorting and filtering.
=IF(A3="",A2,A3).Table to CSV & Excel – Table Copier reads the merged cells and expands them for you, so each row keeps its columns. Pick the table in the popup and choose Copy or Download. See the help page.
Open the file in a text editor and count the commas in a few lines. Each line should have the same number.