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

Get the Android app

Or read this on Hacker News

Read more on:

Photo of API

API

Photo of Web

Web

Photo of Abandonware

Abandonware

Related news:

News photo

'ChatGPT's Atlas: The Browser That's Anti-Web'

News photo

ChatGPT's Atlas: The Browser That's Anti-Web

News photo

I've been loving Claude Code on the web