How this tool computes its result
Renders an editable grid of input fields, initialized to N rows x M columns (default 4x4). Users can resize via numeric inputs (clamped to 2-20 rows, 2-12 columns), toggle whether the first row is a `<thead>` or part of `<tbody>`, and edit each cell's text inline. HTML is generated by building a table element with optional thead (if enabled), a tbody with all rows after the first (or all rows if thead is off), and optional class name applied via `class` attribute. Each cell is either a `<th>` (header row or row-scope th in first column if no thead), or `<td>`. The generated markup is displayed in a code block and can be copied to clipboard.
