upvote
> how do you define a document?

I would say a contained set of words, sometimes accompanied by static visual data (e.g. images), which aimed to convey ideas or information.

For example, a post on a recipe blog website can be seen as a document, even if there are sometimes some interactive elements (like being able to change ingredient amounts based on desired portion sizes), and even if there's usually a CMS behind the scenes helping the website author update their recipes, as the written recipe is at the core of what is being transmitted.

On websites the wide array of interactive elements do blur the lines between documents and apps, but the web was designed as a document sharing medium first and had app functionality bolted onto it afterwards. It's perfectly possible to have a website with zero JavaScript.

I don't know if that fully answers your question, but hopefully it's of some use.

reply
Static (informative) content, for a first pass heuristic.
reply