Get the latest tech news
Do you know that there is an HTML tables API?
Wednesday, October 8th, 2025 at 3:08 pm When people turn data into HTML tables using JavaScript, they either use the DOM methods (createElement() and the likes), but most of the time just append a huge string and use innerHTML, which always is a security concern. However, did you know that HTML tables also have an old, forgotten API ? Using this one, you can loop over tables, create bodies, rows, cells, heads, footers, captions an summaries (yes, HTML tables have all of those) and access the table cells.
None
Or read this on Hacker News


