# Functional HTML

DevFeed: [Functional HTML](<https://devfeed.tech/articles/functional-html-36165.md>)

Original publisher: [Read original article](<https://overreacted.io/functional-html/>)

Published: 2025-05-02T00:00:00Z

Content type: opinion

Language: en

Sources: [Dan Abramov](<https://devfeed.tech/sources/dan-abramov.md>)

Topics: [HTML](<https://devfeed.tech/topics/html.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [JSON](<https://devfeed.tech/topics/json.md>)

Tags: [functional](<https://devfeed.tech/tags/functional.md>), [html](<https://devfeed.tech/tags/html.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [json](<https://devfeed.tech/tags/json.md>)

## AI overview

The article reimagines HTML as a functional, serialized format. It proposes defining custom tags with JavaScript functions, passing attributes and objects, and serializing the resulting structure as a JSON tree that can later be converted into conventional HTML. It also considers asynchronously reading data from the filesystem during serialization.

## Source excerpt

Tags on both sides.