Ask HN: What can JSON do that HTML can't?
Just wondering, if HTML is indeed a data format, with some extra rendering stuff as a bonus, is there anything that JSON can do that HTML can't?
(
7 comments
| 3 points
| on HN
)
HTML is just as capable of storing data, for example microformats. In practice though, it is easier to use HTML to describe the contents of a web page for a user and JSON to exchange data between programs.
https://developer.mozilla.org/en-US/docs/Web/HTML/microforma...